Opened 17 years ago

Closed 17 years ago

#11338 closed defect (fixed)

BUG: gphoto2 does not build on Intel

Reported by: namely_void@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: Cc:
Port:

Description

From Jamie Zawinski:

But, I can't get libgphoto2 to install on MacOS 10.4.8 (intel).

Any ideas? (I did "port selfupdate" first).

port install libgphoto2 ---> Fetching libusb ---> Attempting to fetch libusb-0.1.12.tar.gz from http:// easynews.dl.sourceforge.net/libusb ---> Verifying checksum(s) for libusb ---> Extracting libusb ---> Configuring libusb ---> Building libusb with target all ---> Staging libusb into destroot ---> Packaging tgz archive for libusb 0.1.12_0 ---> Installing libusb 0.1.12_0 ---> Activating libusb 0.1.12_0 ---> Cleaning libusb ---> Fetching libgphoto2 ---> Attempting to fetch libgphoto2-2.1.5.tar.gz from http:// easynews.dl.sourceforge.net/gphoto ---> Verifying checksum(s) for libgphoto2 ---> Extracting libgphoto2 ---> Applying patches to libgphoto2 ---> Configuring libgphoto2 ---> Building libgphoto2 with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_devel_libgphoto2/work/libgphoto2-2.1.5" && make all" returned error 2 Command output: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl - DIOLIBS=\"/opt/local/lib/gphoto2_port/0.5.1\" -DLOCALEDIR=\"/opt/ local/share/locale\" -I/opt/local/include -I/opt/local/include -no- cpp-precomp -g -Wall -Wmissing-declarations -Wmissing-prototypes -MT gphoto2-port.lo -MD -MP -MF .deps/gphoto2-port.Tpo -c gphoto2-port.c - o gphoto2-port.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -DIOLIBS=\"/opt/local/lib/gphoto2_port/0.5.1\" - DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -I/opt/ local/include -no-cpp-precomp -g -Wall -Wmissing-declarations - Wmissing-prototypes -MT gphoto2-port-portability.lo -MD -MP -MF ".deps/gphoto2-port-portability.Tpo" \

-c -o gphoto2-port-portability.lo `test -f 'gphoto2-port-

portability.c'
echo './'`gphoto2-port-portability.c; \

then mv -f ".deps/gphoto2-port-portability.Tpo" ".deps/gphoto2-port- portability.Plo"; \ else rm -f ".deps/gphoto2-port-portability.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -DIOLIBS=\"/opt/local/ lib/gphoto2_port/0.5.1\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/ opt/local/include -I/opt/local/include -no-cpp-precomp -g -Wall - Wmissing-declarations -Wmissing-prototypes -MT gphoto2-port- portability.lo -MD -MP -MF .deps/gphoto2-port-portability.Tpo -c gphoto2-port-portability.c -fno-common -DPIC -o .libs/gphoto2-port- portability.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -DIOLIBS=\"/opt/local/ lib/gphoto2_port/0.5.1\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/ opt/local/include -I/opt/local/include -no-cpp-precomp -g -Wall - Wmissing-declarations -Wmissing-prototypes -MT gphoto2-port- portability.lo -MD -MP -MF .deps/gphoto2-port-portability.Tpo -c gphoto2-port-portability.c -o gphoto2-port-portability.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -DIOLIBS=\"/opt/local/lib/gphoto2_port/0.5.1\" - DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -I/opt/ local/include -no-cpp-precomp -g -Wall -Wmissing-declarations - Wmissing-prototypes -MT gphoto2-port-result.lo -MD -MP -MF ".deps/ gphoto2-port-result.Tpo" \

-c -o gphoto2-port-result.lo `test -f 'gphoto2-port-result.c'

echo './'`gphoto2-port-result.c; \ then mv -f ".deps/gphoto2-port-result.Tpo" ".deps/gphoto2-port- result.Plo"; \ else rm -f ".deps/gphoto2-port-result.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -DIOLIBS=\"/opt/local/ lib/gphoto2_port/0.5.1\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/ opt/local/include -I/opt/local/include -no-cpp-precomp -g -Wall - Wmissing-declarations -Wmissing-prototypes -MT gphoto2-port-result.lo -MD -MP -MF .deps/gphoto2-port-result.Tpo -c gphoto2-port-result.c - fno-common -DPIC -o .libs/gphoto2-port-result.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -DIOLIBS=\"/opt/local/ lib/gphoto2_port/0.5.1\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/ opt/local/include -I/opt/local/include -no-cpp-precomp -g -Wall - Wmissing-declarations -Wmissing-prototypes -MT gphoto2-port-result.lo -MD -MP -MF .deps/gphoto2-port-result.Tpo -c gphoto2-port-result.c -o gphoto2-port-result.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link gcc -I/opt/local/include -no-cpp- precomp -g -Wall -Wmissing-declarations -Wmissing-prototypes -L/opt/ local/lib -g -Wall -o libgphoto2_port.la -rpath /opt/local/lib - version-info 5:1:5 gphoto2-port-info-list.lo gphoto2-port-log.lo gphoto2-port-version.lo gphoto2-port.lo gphoto2-port-portability.lo gphoto2-port-result.lo ../intl/libintl.a -liconv -lintl

* Warning: Linking the shared library libgphoto2_port.la against the * static library ../intl/libintl.a is not portable! gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/ libgphoto2_port.0.5.1.dylib .libs/gphoto2-port-info-list.o .libs/ gphoto2-port-log.o .libs/gphoto2-port-version.o .libs/gphoto2- port.o .libs/gphoto2-port-portability.o .libs/gphoto2-port-result.o - L/opt/local/lib ../intl/libintl.a /opt/local/lib/libiconv.dylib /opt/ local/lib/libintl.dylib -install_name /opt/local/lib/libgphoto2_port. 0.dylib -compatibility_version 6 -current_version 6.1 ld: common symbols not allowed with MH_DYLIB output format with the - multi_module option ../intl/libintl.a(loadmsgcat.o) definition of common nl_msg_cat_cntr (size 16) ../intl/libintl.a(dcigettext.o) definition of common _libintl_nl_domain_bindings (size 16) ../intl/libintl.a(plural-exp.o) definition of common _libintl_gettext_germanic_plural (size 32) /usr/bin/libtool: internal link edit command failed make[4]: * [libgphoto2_port.la] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 17 years ago by pipping@…

you, sir, have killed trac.

comment:2 Changed 17 years ago by namely_void@…

that I did, it seems

comment:3 Changed 17 years ago by markd@…

Resolution: fixed
Status: newclosed

2.3.1 was just committed (#11285) and builds fine on Intel.

Note: See TracTickets for help on using tickets.