Opened 14 years ago

Closed 14 years ago

#23482 closed defect (fixed)

libsdl_net building fails when using libsdl-devel

Reported by: mf2k (Frank Schima) Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: tobypeterson
Port: libsdl_net libsdl-devel

Description

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

Attachments (1)

main.log (16.1 KB) - added by mf2k (Frank Schima) 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 14 years ago by nox@…

Cc: toby@… added
Port: libsdl-devel added
Version: 1.8.2

libsdl-devel seem to not install SDL_byteorder.h.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Wouldn't you have to use trunk libsdl_net to build against trunk libsdl? I know Jeremy changed all the port: deps on libsdl to path: ones, but I don't think he tested any of them.

comment:3 Changed 14 years ago by nox@…

Resolution: fixed
Status: newclosed
Summary: libsdl_net build error on Snow Leopardlibsdl_net building fails when using libsdl-devel
Note: See TracTickets for help on using tickets.