[MacPorts] #23482: libsdl_net build error on Snow Leopard
#23482: libsdl_net build error on Snow Leopard ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: libsdl_net ------------------------------------------+--------------------------------- I see the following error trying to build libsdl_net on Mac OS X 10.6.2 with Xcode 3.2.1. {{{ CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_net/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_net/work/SDL_net-1.2.7" && /usr/bin/make -j2 all' :info:build if /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/SDL -D_THREAD_SAFE -MT SDLnet.lo -MD -MP -MF ".deps/SDLnet.Tpo" -c -o SDLnet.lo SDLnet.c; \ :info:build then mv -f ".deps/SDLnet.Tpo" ".deps/SDLnet.Plo"; else rm -f ".deps/SDLnet.Tpo"; exit 1; fi :info:build if /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/SDL -D_THREAD_SAFE -MT SDLnetTCP.lo -MD -MP -MF ".deps/SDLnetTCP.Tpo" -c -o SDLnetTCP.lo SDLnetTCP.c; \ :info:build then mv -f ".deps/SDLnetTCP.Tpo" ".deps/SDLnetTCP.Plo"; else rm -f ".deps/SDLnetTCP.Tpo"; exit 1; fi :info:build mkdir .libs :info:build /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/SDL -D_THREAD_SAFE -MT SDLnetTCP.lo -MD -MP -MF .deps/SDLnetTCP.Tpo -c SDLnetTCP.c -fno-common -DPIC -o .libs/SDLnetTCP.o :info:build /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/SDL -D_THREAD_SAFE -MT SDLnet.lo -MD -MP -MF .deps/SDLnet.Tpo -c SDLnet.c -fno-common -DPIC -o .libs/SDLnet.o :info:build SDLnet.c:27:27: error: SDL_byteorder.h: No such file or directory :info:build make: *** [SDLnet.lo] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/SDL -D_THREAD_SAFE -MT SDLnetTCP.lo -MD -MP -MF .deps/SDLnetTCP.Tpo -c SDLnetTCP.c -o SDLnetTCP.o >/dev/null 2>&1 :info:build shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_net/work/SDL_net-1.2.7" && /usr/bin/make -j2 all " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for libsdl_net): org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} -- Ticket URL: <http://trac.macports.org/ticket/23482> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23482: libsdl_net build error on Snow Leopard ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: libsdl_net libsdl-devel ------------------------------------------+--------------------------------- Changes (by nox@…): * cc: toby@… (added) * version: 1.8.2 => * port: libsdl_net => libsdl_net libsdl-devel Comment: libsdl-devel seem to not install SDL_byteorder.h. -- Ticket URL: <http://trac.macports.org/ticket/23482#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23482: libsdl_net build error on Snow Leopard ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: libsdl_net libsdl-devel ------------------------------------------+--------------------------------- Comment(by jmr@…): Wouldn't you have to use trunk libsdl_net to build against trunk libsdl? I know Ryan changed all the port: deps on libsdl to path: ones, but I don't think he tested any of them. -- Ticket URL: <http://trac.macports.org/ticket/23482#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23482: libsdl_net building fails when using libsdl-devel -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: libsdl_net libsdl-devel | -------------------------------------------+-------------------------------- Changes (by nox@…): * status: new => closed * resolution: => fixed Comment: r63233 -- Ticket URL: <http://trac.macports.org/ticket/23482#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts