Opened 11 years ago

Last modified 11 years ago

#41342 closed defect

Trying to install gphoto2 — at Initial Version

Reported by: fastcuts@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: zlib

Description

Hi

I've been trying to install gphoto2 based on instructions found here: http://blog.dcclark.net/2009/05/how-to-gphoto-primer.html

I got an error about not being able to install Zlib.

Here is the output from the gphoto2 install try. Any ideas??

---> Fetching archive for zlib ---> Attempting to fetch zlib-1.2.8_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/zlib ---> Attempting to fetch zlib-1.2.8_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/zlib ---> Attempting to fetch zlib-1.2.8_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/zlib ---> Fetching distfiles for zlib ---> Attempting to fetch zlib-1.2.8.tar.xz from http://www.zlib.net/ ---> Verifying checksums for zlib ---> Extracting zlib ---> Applying patches to zlib ---> Configuring zlib ---> Building zlib Error: org.macports.build for port zlib returned: command execution failed Error: Failed to install zlib Please see the log file for port zlib for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_archivers_zlib/zlib/main.log

Error: The following dependencies were not installed: libgphoto2 gd2 fontconfig freetype libpng zlib libvpx yasm tiff autoconf m4 perl5 perl5.12 gdbm automake libtool xpm xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 db_select libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice libusb-compat libusb popt readline To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port gphoto2 failed

Here are the last few lines of the main.log file

:info:build /usr/bin/clang -pipe -Os -arch x86_64 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/gzlib.o gzlib.c :info:build /usr/bin/clang -pipe -Os -arch x86_64 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/gzread.o gzread.c :info:build /usr/bin/clang -pipe -Os -arch x86_64 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/gzwrite.o gzwrite.c :info:build /usr/bin/libtool -o libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o :info:build libtool: unrecognized option `-o' :info:build libtool: Try `libtool --help' for more information. :info:build make: * [libz.a] Error 1 :info:build make: * Waiting for unfinished jobs.... :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_archivers_zlib/zlib/work/zlib-1.2.8' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_archivers_zlib/zlib/work/zlib-1.2.8" && /usr/bin/make -j8 -w all :info:build Exit code: 2 :error:build org.macports.build for port zlib returned: command execution failed :debug:build Error code: CHILDSTATUS 63815 2 :debug:build Backtrace: command execution failed

while executing

"system -nice 0 $fullcmdstring"

("eval" body line 1) invoked from within

"eval system $notty $nice \$fullcmdstring"

invoked from within

"command_exec build"

(procedure "portbuild::build_main" line 8) invoked from within

"$procedure $targetname" :info:build Warning: targets not executed for zlib: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port zlib for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_archivers_zlib/zlib/main.log

I appreciate any help. Thanks.

Change History (0)

Note: See TracTickets for help on using tickets.