Opened 13 years ago

Last modified 13 years ago

#30690 closed defect

libptp2 cannot be installed — at Initial Version

Reported by: newchief@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: haspatch Cc:
Port: libptp2

Description

build log says:

:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libptp2/libptp2/work/libptp2-1.1.10' :info:build Making all in src :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libptp2/libptp2/work/libptp2-1.1.10/src' :info:build if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -MT ptp.lo -MD -MP -MF ".deps/ptp.Tpo" -c -o ptp.lo ptp.c; \ :info:build then mv -f ".deps/ptp.Tpo" ".deps/ptp.Plo"; else rm -f ".deps/ptp.Tpo"; exit 1; fi :info:build if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -MT properties.lo -MD -MP -MF ".deps/properties.Tpo" -c -o properties.lo properties.c; \ :info:build then mv -f ".deps/properties.Tpo" ".deps/properties.Plo"; else rm -f ".deps/properties.Tpo"; exit 1; fi :info:build mkdir .libs :info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -MT ptp.lo -MD -MP -MF .deps/ptp.Tpo -c ptp.c -fno-common -DPIC -o .libs/ptp.o :info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -MT properties.lo -MD -MP -MF .deps/properties.Tpo -c properties.c -fno-common -DPIC -o .libs/properties.o :info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -MT properties.lo -MD -MP -MF .deps/properties.Tpo -c properties.c -o properties.o >/dev/null 2>&1 :info:build if /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -MT ptpcam-ptpcam.o -MD -MP -MF ".deps/ptpcam-ptpcam.Tpo" -c -o ptpcam-ptpcam.o test -f 'ptpcam.c' || echo './'ptpcam.c; \ :info:build then mv -f ".deps/ptpcam-ptpcam.Tpo" ".deps/ptpcam-ptpcam.Po"; else rm -f ".deps/ptpcam-ptpcam.Tpo"; exit 1; fi :info:build ptpcam.c:699: warning: no previous prototype for â :info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -MT ptp.lo -MD -MP -MF .deps/ptp.Tpo -c ptp.c -o ptp.o >/dev/null 2>&1 :info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -L/opt/local/lib -arch x86_64 -Wall -o ptpcam ptpcam-ptpcam.o -lptp2 -L/opt/local/lib -lusb :info:build /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -arch x86_64 -Wall -o ptpcam ptpcam-ptpcam.o -L/opt/local/lib -lptp2 /opt/local/lib/libusb.dylib /opt/local/lib/libusb-1.0.dylib :info:build ld: library not found for -lptp2 :info:build collect2: ld returned 1 exit status :info:build make[2]: * [ptpcam] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.