[MacPorts] #18565: glob2 - Build error: /bin/sh: sdl-config: command not found
MacPorts
noreply at macports.org
Fri Feb 20 07:22:10 PST 2009
#18565: glob2 - Build error: /bin/sh: sdl-config: command not found
----------------------------------+-----------------------------------------
Reporter: wloczykijb@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port:
----------------------------------+-----------------------------------------
I tried a few times to install glob2 but I can't because of apparently
missing sdl-config.
But I have it! It is located in ''/opt/local/bin'',
moreover I checked manually whether it is seen:
{{{
comp01:~ lukasz$ sdl-config --cflags
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
comp01:~ lukasz$ sudo sdl-config --cflags
Password:
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
comp01:~ lukasz$ su -
Password:
comp01:~ root# sdl-config --cflags
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
comp01:~ root# exit
logout
comp01:~ lukasz$ su
Password:
sh-3.2# sdl-config --cflags
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
sh-3.2#
}}}
Below I past output of port install command:
{{{
comp01:~ lukasz$ sudo port install glob2
---> Fetching glob2
---> Verifying checksum(s) for glob2
---> Extracting glob2
---> Applying patches to glob2
---> Configuring glob2
---> Building glob2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_glob2/work/glob2-0.9.3"
&& scons
BINDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_glob2/work/destroot/opt/local/bin"
INSTALLDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_glob2/work/destroot/opt/local/share"
DATADIR="/opt/local/share/glob2" CXXFLAGS="-I/opt/local/include"
LINKFLAGS="-L/opt/local/lib" " returned error 2
Command output: Checking for C library speex... yes
Checking for C++ header file speex/speex.h... yes
Checking for C library vorbisfile... yes
Checking for C library vorbis... yes
Checking for C library ogg... yes
Checking for C++ header file zlib.h... yes
Checking for C library z... yes
Checking for C library boost_thread... no
Checking for C library boost_thread-mt... yes
Checking for C++ header file boost/thread/thread.hpp... yes
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking for C++ header file boost/tuple/tuple.hpp... yes
Checking for C++ header file boost/tuple/tuple_comparison.hpp... yes
Checking for C++ header file boost/logic/tribool.hpp... yes
Checking for C++ header file boost/lexical_cast.hpp... yes
Checking for C++ header file boost/date_time/posix_time/posix_time.hpp...
yes
Using Apple's OpenGL framework
Using Apple's GLUT framework
Checking for C library fribidi... yes
Checking for C++ header file fribidi/fribidi.h... yes
/bin/sh: sdl-config: command not found
OSError: 'sdl-config --cflags' exited 127:
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_glob2/work/glob2-0.9.3/SConstruct",
line 253:
main()
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_glob2/work/glob2-0.9.3/SConstruct",
line 214:
env.ParseConfig("sdl-config --cflags")
File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 1447:
return function(self, self.backtick(command))
File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 585:
raise OSError("'%s' exited %d" % (command, status))
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/18565>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list