Opened 15 years ago

Closed 13 years ago

#18565 closed defect (fixed)

glob2 - Build error: /bin/sh: sdl-config: command not found

Reported by: wloczykijb@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: glob2

Description

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.

Change History (5)

comment:1 Changed 15 years ago by wloczykijb@…

Cc: wloczykijb@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: wloczykijb@… removed
Owner: changed from macports-tickets@… to simon@…
Port: glob2 added

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 14 years ago by simon@…

Owner: changed from simon@… to macports-tickets@…

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.