creating steghide portfile, won't build

"zuzu (sean)" <[email protected]>
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
I'm not clear on why steghide is failing to build.  It seems to find  
the header files for its dependencies ok, but then can't seem to  
actually find libjpeg and libmhash, even though they are installed as  
part of the mhash and jpeg ports.  (They can be seen in /opt/local/ 
lib/ )  I tried depends_lib first, before changing it to  
depends_build, but the same error occurs.

Any ideas?


# $Id: $
PortSystem        1.0
name              steghide
version           0.5.1
categories        security
maintainers       [email protected]
description       steganography tool for images and audio
long_description  Steghide is a steganography program that is able to \
                   hide data in various kinds of image- and audio- 
files. \
                   The color- respectivly sample-frequencies are not  
changed \
                   thus making the embedding resistant against first- 
order \
                   statistical tests.
homepage          http://steghide.sourceforge.net/
master_sites      sourceforge http://distfiles.opendarwin.org/
master_sites.mirror_subdir steghide
checksums         md5 5be490e24807d921045780fd8cc446b3
depends_build     lib:libmhash:mhash \
                   lib:libmcrypt:libmcrypt \
                   lib:libjpeg:jpeg \
                   lib:zlib:zlib


Decatoncale:~/dports-dev/multimedia/steghide zuzu$ sudo port -d build
DEBUG: Changing to port directory: .
DEBUG: Changing to port directory: .
DEBUG: Requested variant powerpc is not provided by port steghide.
DEBUG: Requested variant darwin is not provided by port steghide.
DEBUG: Requested variant macosx is not provided by port steghide.
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/devel/mhash
Warning: Can't open index file for source: file://Users/zuzu/dports-dev
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/devel/mhash
DEBUG: Searching for dependency: mhash
DEBUG: Found Dependency: receipt exists for mhash
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/devel/libmcrypt
Warning: Can't open index file for source: file://Users/zuzu/dports-dev
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/devel/libmcrypt
DEBUG: Searching for dependency: libmcrypt
DEBUG: Found Dependency: receipt exists for libmcrypt
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/graphics/jpeg
Warning: Can't open index file for source: file://Users/zuzu/dports-dev
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/graphics/jpeg
DEBUG: Searching for dependency: jpeg
DEBUG: Found Dependency: receipt exists for jpeg
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/archivers/zlib
Warning: Can't open index file for source: file://Users/zuzu/dports-dev
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/archivers/zlib
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Skipping completed com.apple.main (steghide)
DEBUG: Skipping completed com.apple.fetch (steghide)
DEBUG: Skipping completed com.apple.checksum (steghide)
DEBUG: Skipping completed com.apple.extract (steghide)
DEBUG: Skipping completed com.apple.patch (steghide)
--->  Configuring steghide
DEBUG: Executing com.apple.configure (steghide)
DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ 
_Users_zuzu_dports-dev_multimedia_steghide/work/steghide-0.5.1" && ./ 
configure --prefix=/opt/local'
checking build system type... powerpc-apple-darwin8.7.0
checking host system type... powerpc-apple-darwin8.7.0
checking target system type... powerpc-apple-darwin8.7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output... 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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) awk
checking whether ln -s works... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strchr... yes
checking for msgfmt... /opt/local/bin/msgfmt
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for xgettext... /opt/local/bin/xgettext
checking for msgmerge... /opt/local/bin/msgmerge
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether integer division by zero raises SIGFPE... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... no
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... yes
checking how to link with libiconv... /opt/local/lib/libiconv.dylib
checking for iconv declaration...
          extern size_t iconv (iconv_t cd, const char * *inbuf,  
size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.28, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking how to link with libintl... /opt/local/lib/libintl.dylib -L/ 
opt/local/lib /opt/local/lib/libiconv.dylib -lc
checking wether to enable debugging... no
checking wether to disable randomness... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for limits.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for an ANSI C-conforming const... (cached) yes
checking for size_t... (cached) yes
checking for unsigned long int... yes
checking size of unsigned long int... 4
checking for long int... yes
checking size of long int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for int... yes
checking size of int... 4
checking for unsigned short int... yes
checking size of unsigned short int... 2
checking for short int... yes
checking size of short int... 2
checking for unsigned char... yes
checking size of unsigned char... 1
checking for signed char... yes
checking size of signed char... 1
checking for doxygen... no
checking for perl... yes
checking for /dev/urandom... yes
checking for /dev/random... yes
checking for vprintf... yes
checking for _doprnt... no
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for strtoul... (cached) yes
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for mhash_init in -lmhash... no
checking mhash.h usability... yes
checking mhash.h presence... yes
checking for mhash.h... yes
checking for mcrypt_generic in -lmcrypt... no
checking mcrypt.h usability... yes
checking mcrypt.h presence... yes
checking for mcrypt.h... yes
checking for jpeg_read_coefficients in -ljpeg... no
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
**********
libjpeg could not be found on your system. Steghide will be compiled  
without
support for jpeg files. You will not be able to read or write jpeg  
files!
libjpeg can be downloaded from http://www.ijg.org/
**********
**********
libmhash could not be found on your system but is needed to compile  
steghide.
libmhash can be downloaded from http://mhash.sourceforge.net/.
**********
configure: error: libmhash not found
Error: Target com.apple.configure returned: configure failure: shell  
command "cd "/opt/local/var/db/dports/build/_Users_zuzu_dports- 
dev_multimedia_steghide/work/steghide-0.5.1" && ./configure --prefix=/ 
opt/local" returned error 1
Command output: checking for _doprnt... no
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for strtoul... (cached) yes
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for mhash_init in -lmhash... no
checking mhash.h usability... yes
checking mhash.h presence... yes
checking for mhash.h... yes
checking for mcrypt_generic in -lmcrypt... no
checking mcrypt.h usability... yes
checking mcrypt.h presence... yes
checking for mcrypt.h... yes
checking for jpeg_read_coefficients in -ljpeg... no
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
**********
libjpeg could not be found on your system. Steghide will be compiled  
without
support for jpeg files. You will not be able to read or write jpeg  
files!
libjpeg can be downloaded from http://www.ijg.org/
**********
**********
libmhash could not be found on your system but is needed to compile  
steghide.
libmhash can be downloaded from http://mhash.sourceforge.net/.
**********
configure: error: libmhash not found

Warning: the following items did not execute (for steghide):  
com.apple.build com.apple.configure
Error: Status 1 encountered during processing.

_______________________________________________
Darwinports mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/darwinports
PGP.sig (application/pgp-signature, 186 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.