Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13243 closed defect (fixed)

liboobs fails to configure: missing crypt lib

Reported by: frstan@… Owned by: rhwood@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: liboobs crypt Cc: frstan@…, rhwood@…, nox@…
Port:

Description

could not complie liboobs under Leopard/Intel due to missing crypts lib. debug out put (partial):

checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for OOBS... yes checking for crypt in -lcrypt... no configure: error: crypt library is required.

Warning: the following items did not execute (for liboobs): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.

Attachments (1)

liboobs.config.log (35.7 KB) - added by frstan@… 16 years ago.
config.log from failed liboobs config stage

Download all attachments as: .zip

Change History (12)

comment:1 Changed 16 years ago by nox@…

Cc: rhwood@… nox@… added
Summary: liboobs fails to compile missing crypt libliboobs fails to configure: missing crypt lib

Maybe you should try installing openssl before.

It it does work, then it means port:openssl should be added as a lib dependency.

comment:2 Changed 16 years ago by frstan@…

openssl was installed. to be sure I reinstalled it. liboobs still wont configure. (and thanks for improving me tech jargon) :)

comment:3 Changed 16 years ago by nox@…

Could you attach your config.log file to the ticket? It should be in $(port dir liboobs)/work

comment:4 Changed 16 years ago by frstan@…

no /work in 'port dir liboobs' even after trying another port install liboobs

checking for OOBS... yes checking for crypt in -lcrypt... no configure: error: crypt library is required.

Warning: the following items did not execute (for liboobs): org.macports.destroot org.macports.configure org.macports.build DEBUG: wrong # args: should be "md5 action ?file?"

while executing

"md5 $fname" Error: Unable to upgrade port: 1

Changed 16 years ago by frstan@…

Attachment: liboobs.config.log added

config.log from failed liboobs config stage

comment:5 Changed 16 years ago by frstan@…

tried again. liboobs config log is attached

comment:6 Changed 16 years ago by nox@…

Summary: liboobs fails to configure: missing crypt libliboobs fails to configure on Mac OS X 10.5 Leopard: missing crypt lib

From some googling:

You have to find references to "-lcrypt". The -lcrypt flag is not supported in Mac OS X. These functions are builtin to the OS and found in unistd.

I'll try to write some sort of a patch later, but I won't promise anything as I haven't Leopard yet.

comment:7 Changed 16 years ago by nox@…

frstan: Could you try this?

sudo port -d configure liboobs configure.post_args="ac_cv_lib_crypt_crypt=no"

comment:8 Changed 16 years ago by frstan@…

macintosh:~ frstan$ sudo port -d configure liboobs configure.post_args="ac_cv_lib_crypt_crypt=no" DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/liboobs DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/liboobs DEBUG: Requested variant darwin is not provided by port liboobs. DEBUG: Requested variant i386 is not provided by port liboobs. DEBUG: Requested variant macosx is not provided by port liboobs. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus DEBUG: Requested variant darwin is not provided by port dbus. DEBUG: Requested variant i386 is not provided by port dbus. DEBUG: Requested variant macosx is not provided by port dbus. DEBUG: Searching for dependency: dbus DEBUG: Found Dependency: receipt exists for dbus DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus-glib DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus-glib DEBUG: Requested variant darwin is not provided by port dbus-glib. DEBUG: Requested variant i386 is not provided by port dbus-glib. DEBUG: Requested variant macosx is not provided by port dbus-glib. DEBUG: Searching for dependency: dbus-glib DEBUG: Found Dependency: receipt exists for dbus-glib DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/system-tools-backends DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/system-tools-backends DEBUG: Requested variant darwin is not provided by port system-tools-backends. DEBUG: Requested variant i386 is not provided by port system-tools-backends. DEBUG: Requested variant macosx is not provided by port system-tools-backends. DEBUG: Searching for dependency: system-tools-backends DEBUG: Found Dependency: receipt exists for system-tools-backends DEBUG: Executing org.macports.main (liboobs) ---> Fetching liboobs DEBUG: Executing org.macports.fetch (liboobs) ---> Verifying checksum(s) for liboobs DEBUG: Executing org.macports.checksum (liboobs) ---> Checksumming liboobs-2.20.0.tar.bz2 DEBUG: Correct (md5) checksum for liboobs-2.20.0.tar.bz2 DEBUG: Correct (sha1) checksum for liboobs-2.20.0.tar.bz2 DEBUG: setting option extract.cmd to /opt/local/bin/bzip2 ---> Extracting liboobs DEBUG: Executing org.macports.extract (liboobs) ---> Extracting liboobs-2.20.0.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/liboobs/liboobs-2.20.0.tar.bz2 DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_liboobs/work" && /opt/local/bin/bzip2 -dc /opt/local/var/macports/distfiles/liboobs/liboobs-2.20.0.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (liboobs) ---> Configuring liboobs DEBUG: Executing org.macports.configure (liboobs) DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_liboobs/work/liboobs-2.20.0" && ./configure --prefix=/opt/local --disable-scrollkeeper ac_cv_lib_crypt_crypt=no' checking for a BSD-compatible install... /usr/bin/install checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-apple-darwin9.1.0 checking host system type... i386-apple-darwin9.1.0 checking for style of include used by make... GNU checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking dependency style of /usr/bin/gcc-4.0... gcc3 checking for a sed that does not truncate output... /opt/local/bin/gsed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by /usr/bin/gcc-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.0 accepts -g... yes checking dependency style of /usr/bin/g++-4.0... gcc3 checking how to run the C++ preprocessor... /usr/bin/g++-4.0 -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... g95 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g95 accepts -g... yes checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.0 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes checking if /usr/bin/gcc-4.0 static flag -static works... no checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.1.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes checking if /usr/bin/g++-4.0 static flag -static works... no checking if /usr/bin/g++-4.0 supports -c -o file.o... yes checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.1.0 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g95 option to produce PIC... -fno-common checking if g95 PIC flag -fno-common works... yes checking if g95 static flag -static works... no checking if g95 supports -c -o file.o... yes checking whether the g95 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.1.0 dyld checking how to hardcode library paths into programs... immediate checking for library containing strerror... none required checking for gcc... (cached) /usr/bin/gcc-4.0 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3 checking for gcc... (cached) /usr/bin/gcc-4.0 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3 checking for ANSI C header files... (cached) yes checking for a BSD-compatible install... /usr/bin/install checking for library containing strerror... none required checking for gcc... (cached) /usr/bin/gcc-4.0 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3 checking for gcc... (cached) /usr/bin/gcc-4.0 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3 checking for ANSI C header files... (cached) yes checking for a BSD-compatible install... /usr/bin/install checking whether make sets $(MAKE)... (cached) yes checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for OOBS... yes checking for crypt in -lcrypt... (cached) no configure: error: crypt library is required.

Warning: the following items did not execute (for liboobs): org.macports.configure Error: Status 1 encountered during processing.

comment:9 Changed 16 years ago by nox@…

Resolution: fixed
Status: newclosed
Summary: liboobs fails to configure on Mac OS X 10.5 Leopard: missing crypt libliboobs fails to configure: missing crypt lib

Actually it also failed on Tiger. OS X never had a separate crypt library to begin with. r33890 should fix this. Please selfupdate and try again.

comment:10 Changed 16 years ago by frstan@…

did selfupdate and liboobs installed fine! and thank you very much mate :)

comment:11 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.