Apache2 Installation Error

arthas32 at powerband.net.au arthas32 at powerband.net.au
Tue Apr 3 22:28:43 PDT 2007


OS = 10.3.9 Panther

XCode = Xcode 1.0 (straight from the original OSX10.3 Install Disk)

PATH = $ which port
/opt/local/bin/port

I have set up my .profile file in my home folder as:

# Your previous .profile  (if any) is saved as .profile.dpsaved
# Setting the path for DarwinPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export DISPLAY=:0.0
export EDITOR=/usr/bin/vi

MacPort = MacPorts 1.4.0

Let me know if I've missed anything.

Regards
Ben

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ok. Give me your setup information; OS, XCode, PATH, and MacPort. I look
> ed over your debug information and I noticed that it references or uses
> programs primarily from your Mac OS X Panther environment (i.e.
> /usr/bin) and not from the MacPorts environment. If your path is setup
> so that /opt/local/bin and /opt/local/sbin are first entries in your
> path with the exception of a python path entry, you might need to
> install binutils, clean libiconv again, and then attempt to reinstall
> libiconv. This way, MacPorts will depend on itself and less on your Mac
> OS X Panther environment. HTH
>
> - -Altoine
>
>
> arthas32 at powerband.net.au wrote:
>> Thanks again.
>>
>> Here Is my output for those last two commands,
>> seems to me that I am presented with the same problem.
>>
>>
>> ----------------------------------------------------------------------
>>
>> $ sudo port -v clean --all libiconv
>>
>> --->  Cleaning libiconv
>> --->  Removing distfiles for libiconv
>> --->  Removing archives for libiconv
>> --->  Removing workpath for libiconv
>>
>> $ sudo port -d install libiconv
>>
>> DEBUG: Found port in
>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/libiconv
>> DEBUG: Changing to port directory:
>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/libiconv
>> DEBUG: Requested variant powerpc is not provided by port libiconv.
>> DEBUG: Requested variant darwin is not provided by port libiconv.
>> DEBUG: Requested variant macosx is not provided by port libiconv.
>> DEBUG: Executing variant darwin_7 provides darwin_7
>> DEBUG: Found port in
>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gperf
>> DEBUG: Changing to port directory:
>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gperf
>> DEBUG: Searching for dependency: gperf
>> DEBUG: Found Dependency: receipt exists for gperf
>> DEBUG: Found port in
>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gperf
>> DEBUG: Searching for dependency: gperf
>> DEBUG: Found Dependency: receipt exists for gperf
>> DEBUG: Executing com.apple.main (libiconv)
>> --->  Fetching libiconv
>> DEBUG: Executing com.apple.fetch (libiconv)
>> --->  libiconv-1.11.tar.gz doesn't seem to exist in
>> /opt/local/var/db/dports/distfiles/libiconv
>> --->  Attempting to fetch libiconv-1.11.tar.gz from
>> http://ftp.gnu.org/gnu/libiconv
>>   % Total    % Received % Xferd  Average Speed          Time
>> Curr.
>>                                  Dload  Upload Total    Current  Left
>> Speed
>> 100 4327k  100 4327k    0     0   8619      0  0:08:34  0:08:34  0:00:00
>> 8423
>> --->  Verifying checksum(s) for libiconv
>> DEBUG: Executing com.apple.checksum (libiconv)
>> --->  Checksumming libiconv-1.11.tar.gz
>> DEBUG: Correct (md5) checksum for libiconv-1.11.tar.gz
>> DEBUG: Correct (sha1) checksum for libiconv-1.11.tar.gz
>> DEBUG: Correct (rmd160) checksum for libiconv-1.11.tar.gz
>> --->  Extracting libiconv
>> DEBUG: Executing com.apple.extract (libiconv)
>> --->  Extracting libiconv-1.11.tar.gz
>> DEBUG: setting option extract.args to
>> /opt/local/var/db/dports/distfiles/libiconv/libiconv-1.11.tar.gz
>> DEBUG: Assembled command: 'cd
>> "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work"
>> && gzip -dc
>> /opt/local/var/db/dports/distfiles/libiconv/libiconv-1.11.tar.gz |
>> /usr/bin/gnutar --no-same-owner -xf -'
>> DEBUG: Executing com.apple.patch (libiconv)
>> DEBUG: Executing proc-post-com.apple.patch-patch-0
>> patching file lib/converters.h
>> patching file lib/encodings.def
>> patching file lib/utf8mac.h
>> --->  Configuring libiconv
>> DEBUG: Executing com.apple.configure (libiconv)
>> DEBUG: Assembled command: 'cd
>> "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/libiconv-1.11"
>> && MACOSX_DEPLOYMENT_TARGET=10.3 ./configure --prefix=/opt/local
>> --enable-static --mandir=/opt/local/share/man --without-libiconv-prefix
>> --without-libintl-prefix --enable-extra-encodings'
>> 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 whether make sets $(MAKE)... (cached) yes
>> checking for gcc... gcc
>> 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 gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking for style of include used by make... GNU
>> checking dependency style of gcc... none
>> checking how to run the C preprocessor... gcc -E
>> checking for grep that handles long lines and -e... /usr/bin/grep
>> checking for egrep... /usr/bin/grep -E
>> checking whether gcc needs -traditional... no
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking build system type... powerpc-apple-darwin7.9.0
>> checking host system type... powerpc-apple-darwin7.9.0
>> checking for AIX... no
>> 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 minix/config.h usability... no
>> checking minix/config.h presence... no
>> checking for minix/config.h... no
>> checking for library containing strerror... none required
>> checking for ld used by GCC... /usr/bin/ld
>> checking if the linker (/usr/bin/ld) is GNU ld... no
>> checking for shared library path variable... DYLD_LIBRARY_PATH
>> checking whether to activate relocatable installation... no
>> checking for ranlib... ranlib
>> checking how to copy files... cp -p
>> checking how to make hard links... ln
>> checking whether ln -s works... yes
>> checking for a sed that does not truncate output... /usr/bin/sed
>> checking for ld used by gcc... /usr/bin/ld
>> checking if the linker (/usr/bin/ld) is GNU ld... no
>> checking for /usr/bin/ld option to reload object files... -r
>> checking for BSD-compatible nm... /usr/bin/nm -p
>> checking how to recognise dependent libraries... pass_all
>> checking dlfcn.h usability... yes
>> checking dlfcn.h presence... yes
>> checking for dlfcn.h... yes
>> checking for g++... g++
>> checking whether we are using the GNU C++ compiler... yes
>> checking whether g++ accepts -g... yes
>> checking dependency style of g++... none
>> checking how to run the C++ preprocessor... g++ -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... no
>> checking for f95... no
>> checking for fort... no
>> checking for xlf95... no
>> checking for ifort... no
>> checking for ifc... no
>> checking for efc... no
>> checking for pgf95... no
>> checking for lf95... no
>> checking for ftn... no
>> checking whether we are using the GNU Fortran 77 compiler... no
>> checking whether  accepts -g... no
>> checking the maximum length of command line arguments... 196608
>> checking command to parse /usr/bin/nm -p output from gcc object... ok
>> checking for objdir... .libs
>> checking for ar... ar
>> checking for ranlib... (cached) ranlib
>> checking for strip... strip
>> checking if gcc supports -fno-rtti -fno-exceptions... yes
>> checking for gcc option to produce PIC... -fno-common
>> checking if gcc PIC flag -fno-common works... yes
>> checking if gcc static flag -static works... no
>> checking if gcc supports -c -o file.o... yes
>> checking whether the gcc linker (/usr/bin/ld) supports shared
>> libraries...
>> yes
>> checking dynamic linker characteristics... darwin7.9.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 g++... /usr/bin/ld
>> checking if the linker (/usr/bin/ld) is GNU ld... no
>> checking whether the g++ linker (/usr/bin/ld) supports shared
>> libraries...
>> yes
>> checking for g++ option to produce PIC... -fno-common
>> checking if g++ PIC flag -fno-common works... yes
>> checking if g++ static flag -static works... no
>> checking if g++ supports -c -o file.o... yes
>> checking whether the g++ linker (/usr/bin/ld) supports shared
>> libraries...
>> yes
>> checking dynamic linker characteristics... darwin7.9.0 dyld
>> checking how to hardcode library paths into programs... immediate
>> appending configuration tag "F77" to libtool
>> checking for simple visibility declarations... no
>> checking for shared library run path origin... done
>> checking for iconv... yes
>> checking how to link with libiconv... -liconv
>> checking for iconv declaration...
>>          extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
>> *inbytesleft, char * *outbuf, size_t *outbytesleft);
>> checking whether NLS is requested... yes
>> checking for msgfmt... no
>> checking for gmsgfmt... :
>> checking for xgettext... no
>> checking for msgmerge... no
>> checking for CFPreferencesCopyAppValue... yes
>> checking for CFLocaleCopyCurrent... yes
>> checking for GNU gettext in libc... no
>> checking for iconv... (cached) yes
>> checking how to link with libiconv... -liconv
>> checking for GNU gettext in libintl... no
>> checking whether to use NLS... no
>> checking for ANSI C header files... (cached) yes
>> checking locale.h usability... yes
>> checking locale.h presence... yes
>> checking for locale.h... yes
>> 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 for mbstate_t... yes
>> checking wchar.h usability... yes
>> checking wchar.h presence... yes
>> checking for wchar.h... yes
>> checking for stdint.h... (cached) yes
>> checking for inttypes.h... (cached) yes
>> checking for size_t... yes
>> checking for wchar_t... yes
>> checking for stdint.h... yes
>> checking full path to <stdint.h>...
>> /usr/include/gcc/darwin/2.95.2/stdint.h
>> checking for inttypes.h... yes
>> checking full path to <inttypes.h>...
>> /usr/include/gcc/darwin/2.95.2/inttypes.h
>> checking sys/inttypes.h usability... no
>> checking sys/inttypes.h presence... no
>> checking for sys/inttypes.h... no
>> checking sys/bitypes.h usability... no
>> checking sys/bitypes.h presence... no
>> checking for sys/bitypes.h... no
>> checking whether 'long' is 64 bit wide... no
>> checking whether 'long long' is 64 bit wide... yes
>> checking for int8_t... yes
>> checking for int16_t... yes
>> checking for int32_t... yes
>> checking for int64_t... yes
>> checking for uint8_t... yes
>> checking for uint16_t... yes
>> checking for uint32_t... yes
>> checking for uint64_t... yes
>> checking for int_least8_t... yes
>> checking for int_least16_t... yes
>> checking for int_least32_t... yes
>> checking for int_least64_t... yes
>> checking for uint_least8_t... yes
>> checking for uint_least16_t... yes
>> checking for uint_least32_t... yes
>> checking for uint_least64_t... yes
>> checking for int_fast8_t... yes
>> checking for int_fast16_t... yes
>> checking for int_fast32_t... yes
>> checking for int_fast64_t... yes
>> checking for uint_fast8_t... yes
>> checking for uint_fast16_t... yes
>> checking for uint_fast32_t... yes
>> checking for uint_fast64_t... yes
>> checking for intptr_t... yes
>> checking for uintptr_t... yes
>> checking for intmax_t... yes
>> checking for uintmax_t... yes
>> checking for int64_t... yes
>> checking for uint64_t... yes
>> checking for int_least64_t... yes
>> checking for uint_least64_t... yes
>> checking for int_fast64_t... yes
>> checking for uint_fast64_t... yes
>> checking for INT8_MIN... yes
>> checking for INT8_MAX... yes
>> checking for UINT8_MAX... yes
>> checking for INT16_MIN... yes
>> checking for INT16_MAX... yes
>> checking for UINT16_MAX... yes
>> checking for INT32_MIN... yes
>> checking for INT32_MAX... yes
>> checking for UINT32_MAX... yes
>> checking for INT64_MIN... yes
>> checking for INT64_MAX... yes
>> checking for UINT64_MAX... yes
>> checking for INT_LEAST8_MIN... yes
>> checking for INT_LEAST8_MAX... yes
>> checking for UINT_LEAST8_MAX... yes
>> checking for INT_LEAST16_MIN... yes
>> checking for INT_LEAST16_MAX... yes
>> checking for UINT_LEAST16_MAX... yes
>> checking for INT_LEAST32_MIN... yes
>> checking for INT_LEAST32_MAX... yes
>> checking for UINT_LEAST32_MAX... yes
>> checking for INT_LEAST64_MIN... yes
>> checking for INT_LEAST64_MAX... yes
>> checking for UINT_LEAST64_MAX... yes
>> checking for INT_FAST8_MIN... yes
>> checking for INT_FAST8_MAX... yes
>> checking for UINT_FAST8_MAX... yes
>> checking for INT_FAST16_MIN... yes
>> checking for INT_FAST16_MAX... yes
>> checking for UINT_FAST16_MAX... yes
>> checking for INT_FAST32_MIN... yes
>> checking for INT_FAST32_MAX... yes
>> checking for UINT_FAST32_MAX... yes
>> checking for INT_FAST64_MIN... yes
>> checking for INT_FAST64_MAX... yes
>> checking for UINT_FAST64_MAX... yes
>> checking for INTPTR_MIN... yes
>> checking for INTPTR_MAX... yes
>> checking for UINTPTR_MAX... yes
>> checking for INTMAX_MIN... yes
>> checking for INTMAX_MAX... yes
>> checking for UINTMAX_MAX... yes
>> checking for PTRDIFF_MIN... yes
>> checking for PTRDIFF_MAX... yes
>> checking for stdint.h... (cached) yes
>> checking for SIZE_MAX... yes
>> checking for SIG_ATOMIC_MIN... INT32_MIN
>> checking for SIG_ATOMIC_MAX... INT32_MAX
>> checking for WINT_MIN... INT32_MIN
>> checking for WINT_MAX... INT32_MAX
>> checking for wchar_t... (cached) yes
>> checking for getc_unlocked... yes
>> checking for mbrtowc... yes
>> checking for wcrtomb... yes
>> checking for mbsinit... yes
>> checking for setlocale... yes
>> checking for memmove... yes
>> checking for nl_langinfo and CODESET... yes
>> checking for wchar.h... (cached) yes
>> checking for EILSEQ... yes
>> checking byte ordering... big endian
>> checking for working alloca.h... yes
>> checking for alloca... yes
>> checking for stdlib.h... (cached) yes
>> checking for string.h... (cached) yes
>> checking for stdlib.h... (cached) yes
>> checking for GNU libc compatible malloc... yes
>> checking for long long... yes
>> checking for long double... yes
>> checking sys/param.h usability... yes
>> checking sys/param.h presence... yes
>> checking for sys/param.h... yes
>> checking for unistd.h... (cached) yes
>> checking for canonicalize_file_name... no
>> checking for getcwd... yes
>> checking for readlink... yes
>> checking whether clearerr_unlocked is declared... yes
>> checking whether feof_unlocked is declared... yes
>> checking whether ferror_unlocked is declared... yes
>> checking whether fflush_unlocked is declared... no
>> checking whether fgets_unlocked is declared... no
>> checking whether fputc_unlocked is declared... no
>> checking whether fputs_unlocked is declared... no
>> checking whether fread_unlocked is declared... no
>> checking whether fwrite_unlocked is declared... no
>> checking whether getc_unlocked is declared... yes
>> checking whether getchar_unlocked is declared... yes
>> checking whether putc_unlocked is declared... yes
>> checking whether putchar_unlocked is declared... yes
>> checking whether strerror_r is declared... yes
>> checking for strerror_r... yes
>> checking whether strerror_r returns char *... no
>> checking for error_at_line... no
>> checking for setenv... yes
>> checking for unsetenv... yes
>> checking for unsetenv() return type... void
>> checking for stdbool.h that conforms to C99... no
>> checking for _Bool... no
>> checking for strerror... yes
>> checking for readlink... (cached) yes
>> checking for ssize_t... yes
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating lib/Makefile
>> config.status: creating srclib/Makefile
>> config.status: creating src/Makefile
>> config.status: creating po/Makefile.in
>> config.status: creating man/Makefile
>> config.status: creating tests/Makefile
>> config.status: creating include/iconv.h
>> config.status: creating include/iconv.h.inst
>> config.status: creating config.h
>> config.status: creating lib/config.h
>> config.status: executing depfiles commands
>> config.status: executing po-directories commands
>> config.status: creating po/POTFILES
>> config.status: creating po/Makefile
>> === configuring in libcharset
>> (/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/libiconv-1.11/libcharset)
>> configure: running /bin/sh ./configure --prefix=/opt/local
>> '--enable-static' '--mandir=/opt/local/share/man'
>> '--without-libiconv-prefix' '--without-libintl-prefix'
>> '--enable-extra-encodings' --cache-file=/dev/null --srcdir=.
>> checking whether make sets $(MAKE)... yes
>> checking for gcc... gcc
>> 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 gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking how to run the C preprocessor... gcc -E
>> checking for grep that handles long lines and -e... /usr/bin/grep
>> checking for egrep... /usr/bin/grep -E
>> checking whether gcc needs -traditional... no
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking build system type... powerpc-apple-darwin7.9.0
>> checking host system type... powerpc-apple-darwin7.9.0
>> checking whether to activate relocatable installation... no
>> checking for AIX... no
>> 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 minix/config.h usability... no
>> checking minix/config.h presence... no
>> checking for minix/config.h... no
>> checking for library containing strerror... none required
>> checking for a sed that does not truncate output... /usr/bin/sed
>> checking for ld used by gcc... /usr/bin/ld
>> checking if the linker (/usr/bin/ld) is GNU ld... no
>> checking for /usr/bin/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 dlfcn.h usability... yes
>> checking dlfcn.h presence... yes
>> checking for dlfcn.h... yes
>> checking for g++... g++
>> checking whether we are using the GNU C++ compiler... yes
>> checking whether g++ accepts -g... yes
>> checking how to run the C++ preprocessor... g++ -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... no
>> checking for f95... no
>> checking for fort... no
>> checking for xlf95... no
>> checking for ifort... no
>> checking for ifc... no
>> checking for efc... no
>> checking for pgf95... no
>> checking for lf95... no
>> checking for ftn... no
>> checking whether we are using the GNU Fortran 77 compiler... no
>> checking whether  accepts -g... no
>> checking the maximum length of command line arguments... 196608
>> checking command to parse /usr/bin/nm -p output from gcc object... ok
>> checking for objdir... .libs
>> checking for ar... ar
>> checking for ranlib... ranlib
>> checking for strip... strip
>> checking if gcc supports -fno-rtti -fno-exceptions... yes
>> checking for gcc option to produce PIC... -fno-common
>> checking if gcc PIC flag -fno-common works... yes
>> checking if gcc static flag -static works... no
>> checking if gcc supports -c -o file.o... yes
>> checking whether the gcc linker (/usr/bin/ld) supports shared
>> libraries...
>> yes
>> checking dynamic linker characteristics... darwin7.9.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 g++... /usr/bin/ld
>> checking if the linker (/usr/bin/ld) is GNU ld... no
>> checking whether the g++ linker (/usr/bin/ld) supports shared
>> libraries...
>> yes
>> checking for g++ option to produce PIC... -fno-common
>> checking if g++ PIC flag -fno-common works... yes
>> checking if g++ static flag -static works... no
>> checking if g++ supports -c -o file.o... yes
>> checking whether the g++ linker (/usr/bin/ld) supports shared
>> libraries...
>> yes
>> checking dynamic linker characteristics... darwin7.9.0 dyld
>> checking how to hardcode library paths into programs... immediate
>> appending configuration tag "F77" to libtool
>> checking for simple visibility declarations... no
>> checking for nl_langinfo and CODESET... yes
>> checking whether we are using the GNU C Library 2.1 or newer... 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 setlocale... yes
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating lib/Makefile
>> config.status: creating include/localcharset.h
>> config.status: creating include/localcharset.h.inst
>> config.status: creating config.h
>> --->  Building libiconv with target all
>> DEBUG: Executing proc-pre-com.apple.build-build-0
>> gcc -O lib/genaliases.c -o genaliases
>> In file included from lib/genaliases.c:81:
>> lib/encodings.def: In function `main':
>> lib/encodings.def:39: `__VA_ARGS__' undeclared (first use in this
>> function)
>> lib/encodings.def:39: (Each undeclared identifier is reported only once
>> lib/encodings.def:39: for each function it appears in.)
>> lib/encodings.def:39: too many errors, bailing out
>> make: *** [lib/aliases.h] Error 1
>> 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_dports_textproc_libiconv/work/libiconv-1.11
>> && make -f Makefile.devel" returned error 2
>> Command output: gcc -O lib/genaliases.c -o genaliases
>> In file included from lib/genaliases.c:81:
>> lib/encodings.def: In function `main':
>> lib/encodings.def:39: `__VA_ARGS__' undeclared (first use in this
>> function)
>> lib/encodings.def:39: (Each undeclared identifier is reported only once
>> lib/encodings.def:39: for each function it appears in.)
>> lib/encodings.def:39: too many errors, bailing out
>> make: *** [lib/aliases.h] Error 1
>>
>> Warning: the following items did not execute (for libiconv):
>> com.apple.activate com.apple.build com.apple.destroot com.apple.install
>> Error: Status 1 encountered during processing.
>>
>> ----------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> For you your problem seems that you have a bad build of libiconv. I
>> suggest you do a 'sudo port -v clean --all libiconv' and then run the
>> command 'sudo port -d install libiconv. Your error message in debug is
>> saying that that program is the issue so let us see if we can resolve
>> that one before moving on to apache2, alright? HTH
>>
>> -Altoine
>>
>> arthas32 at powerband.net.au wrote:
>>>>> I didn't install apache1.3 with mac ports.
>>>>> I used the default install that came with OSX.
>>>>> The one that you can turn on or off with the sharing preference pane.
>>>>>
>>>>> Thanks for all your help so far,
>>>>> It seems I am generating the same error message.
>>>>> here Is the output for the commands you asked me to try:
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>>
>>>>> $ sudo port -v clean --all apache2
>>>>> Password:
>>>>>
>>>>> --->  Cleaning apache2
>>>>> --->  Removing distfiles for apache2
>>>>> --->  Removing archives for apache2
>>>>> --->  Removing workpath for apache2
>>>>>
>>>>> $ sudo port -d install apache2
>>>>>
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/www/apache2
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/www/apache2
>>>>> DEBUG: Requested variant powerpc is not provided by port apache2.
>>>>> DEBUG: Requested variant macosx is not provided by port apache2.
>>>>> DEBUG: Executing variant darwin provides darwin
>>>>> DEBUG: Executing variant darwin_7 provides darwin_7
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/apr
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/apr
>>>>> DEBUG: Searching for dependency: apr
>>>>> DEBUG: Found Dependency: receipt exists for apr
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/apr-util
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/apr-util
>>>>> DEBUG: Searching for dependency: apr-util
>>>>> DEBUG: Didn't find receipt, going to depspec regex for: apr-util
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/expat
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/expat
>>>>> DEBUG: Searching for dependency: expat
>>>>> DEBUG: Found Dependency: receipt exists for expat
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl
>>>>> DEBUG: Searching for dependency: openssl
>>>>> DEBUG: Didn't find receipt, going to depspec regex for: openssl
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/pcre
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/pcre
>>>>> DEBUG: Searching for dependency: pcre
>>>>> DEBUG: Didn't find receipt, going to depspec regex for: pcre
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/apr
>>>>> DEBUG: Searching for dependency: apr
>>>>> DEBUG: Found Dependency: receipt exists for apr
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/expat
>>>>> DEBUG: Searching for dependency: expat
>>>>> DEBUG: Found Dependency: receipt exists for expat
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/libiconv
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/libiconv
>>>>> DEBUG: Searching for dependency: libiconv
>>>>> DEBUG: Didn't find receipt, going to depspec regex for: libiconv
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/databases/db44
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/databases/db44
>>>>> DEBUG: Searching for dependency: db44
>>>>> DEBUG: Found Dependency: receipt exists for db44
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/databases/sqlite3
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/databases/sqlite3
>>>>> DEBUG: Searching for dependency: sqlite3
>>>>> DEBUG: Didn't find receipt, going to depspec regex for: sqlite3
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gperf
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gperf
>>>>> DEBUG: Searching for dependency: gperf
>>>>> DEBUG: Found Dependency: receipt exists for gperf
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/readline
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/readline
>>>>> DEBUG: Searching for dependency: readline
>>>>> DEBUG: Didn't find receipt, going to depspec regex for: readline
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/ncurses
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/ncurses
>>>>> DEBUG: Searching for dependency: ncurses
>>>>> DEBUG: Didn't find receipt, going to depspec regex for: ncurses
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/ncursesw
>>>>> DEBUG: Changing to port directory:
>>>>> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/ncursesw
>>>>> DEBUG: Searching for dependency: ncursesw
>>>>> DEBUG: Didn't find receipt, going to depspec regex for: ncursesw
>>>>> DEBUG: Found port in
>>>>> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/zlib
>>>>> 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: Requested variant powerpc is not provided by port libiconv.
>>>>> DEBUG: Requested variant darwin is not provided by port libiconv.
>>>>> DEBUG: Requested variant macosx is not provided by port libiconv.
>>>>> DEBUG: Executing variant darwin_7 provides darwin_7
>>>>> DEBUG: Skipping completed com.apple.main (libiconv)
>>>>> DEBUG: Skipping completed com.apple.fetch (libiconv)
>>>>> DEBUG: Skipping completed com.apple.checksum (libiconv)
>>>>> DEBUG: Skipping completed com.apple.extract (libiconv)
>>>>> DEBUG: Skipping completed com.apple.patch (libiconv)
>>>>> DEBUG: Skipping completed com.apple.configure (libiconv)
>>>>> --->  Building libiconv with target all
>>>>> DEBUG: Executing proc-pre-com.apple.build-build-0
>>>>> gcc -O lib/genaliases.c -o genaliases
>>>>> In file included from lib/genaliases.c:81:
>>>>> lib/encodings.def: In function `main':
>>>>> lib/encodings.def:39: `__VA_ARGS__' undeclared (first use in this
>>>>> function)
>>>>> lib/encodings.def:39: (Each undeclared identifier is reported only
>>>>> once
>>>>> lib/encodings.def:39: for each function it appears in.)
>>>>> lib/encodings.def:39: too many errors, bailing out
>>>>> make: *** [lib/aliases.h] Error 1
>>>>> 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_dports_textproc_libiconv/work/libiconv-1.11
>>>>> && make -f Makefile.devel" returned error 2
>>>>> Command output: gcc -O lib/genaliases.c -o genaliases
>>>>> In file included from lib/genaliases.c:81:
>>>>> lib/encodings.def: In function `main':
>>>>> lib/encodings.def:39: `__VA_ARGS__' undeclared (first use in this
>>>>> function)
>>>>> lib/encodings.def:39: (Each undeclared identifier is reported only
>>>>> once
>>>>> lib/encodings.def:39: for each function it appears in.)
>>>>> lib/encodings.def:39: too many errors, bailing out
>>>>> make: *** [lib/aliases.h] Error 1
>>>>>
>>>>> Warning: the following items did not execute (for libiconv):
>>>>> com.apple.activate com.apple.build com.apple.destroot
>>>>> com.apple.install
>>>>> Error: The following dependencies failed to build: apr-util libiconv
>>>>> sqlite3 readline ncurses ncursesw openssl pcre
>>>>> Error: Status 1 encountered during processing.
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Ok Ben,
>>>>> We wil need for you to do a 'sudo port -v clean --all apache2' and
>>>>> then
>>>>> attempt to reintall running 'sudo port -d install apache2'. Post
>>>>> error
>>>>> message if you receive another one, again. Plus, is apache 1.3
>>>>> installed
>>>>> by macports? Just curious but it really shouldn't effect anything.
>>>>> HTH
>>>>>
>>>>> -Altoine
>>>>>
>>>>>
>>>>> Arthas Terrenas wrote:
>>>>>>>> I did run 'sudo port -v selfupdate' first
>>>>>>>>
>>>>>>>> I then went on to install:
>>>>>>>>
>>>>>>>> cronolog and
>>>>>>>> zlib successfully.
>>>>>>>>
>>>>>>>> I have also shut down my current apache 1.3 server.
>>>>>>>> But I don't think that was necessary.
>>>>>>>>
>>>>>>>> I have developer tools installed,
>>>>>>>>  I have X Windows installed.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 04/04/2007, at 10:11 AM, Altoine Barker wrote:
>>>>>>>>
>>>>>>>> What are all the steps you did to get to this point? Did you run
>>>>>>>> 'sudo
>>>>>>>> port -v selfupdate', first? HTH
>>>>>>>>
>>>>>>>> -Altoine
>>>>>>>>
>>>>>>>> arthas32 at powerband.net.au wrote:
>>>>>>>>>>> G'day folks,
>>>>>>>>>>>
>>>>>>>>>>> My name is Ben and I am from Sydney Australia.
>>>>>>>>>>> I have recently installed MacPorts 1.4
>>>>>>>>>>> and an trying to install Apache2 via MacPorts, like so:
>>>>>>>>>>>
>>>>>>>>>>> sudo port install -v apache2
>>>>>>>>>>>
>>>>>>>>>>> After a while I receive the following error message:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ----------------------------------------------------------------------
>>>>>>>>>>>
>>>>>>>>>>> --->  Building libiconv 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_dports_textproc_libiconv/work/libiconv-1.11
>>>>>>>>>>>
>>>>>>>>>>> && make -f Makefile.devel" returned error 2
>>>>>>>>>>> Command output: gcc -O lib/genaliases.c -o genaliases
>>>>>>>>>>> In file included from lib/genaliases.c:81:
>>>>>>>>>>> lib/encodings.def: In function `main':
>>>>>>>>>>> lib/encodings.def:39: `__VA_ARGS__' undeclared (first use in
>>>>>>>>>>> this
>>>>>>>>>>> function)
>>>>>>>>>>> lib/encodings.def:39: (Each undeclared identifier is reported
>>>>>>>>>>> only
>>>>>>>>>>> once
>>>>>>>>>>> lib/encodings.def:39: for each function it appears in.)
>>>>>>>>>>> lib/encodings.def:39: too many errors, bailing out
>>>>>>>>>>> make: *** [lib/aliases.h] Error 1
>>>>>>>>>>>
>>>>>>>>>>> Error: The following dependencies failed to build: apr-util
>>>>>>>>>>> libiconv
>>>>>>>>>>> sqlite3 readline ncurses ncursesw openssl pcre
>>>>>>>>>>> Error: Status 1 encountered during processing.
>>>>>>>>>>>
>>>>>>>>>>> ----------------------------------------------------------------------
>>>>>>>>>>>
>>>>>>>>>>> Can anyone tell me the nature of this error message? I do not
>>>>>>>>>>> understand
>>>>>>>>>>> what has gone wrong here.
>>>>>>>>>>>
>>>>>>>>>>> Regards
>>>>>>>>>>> Ben
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> macports-users mailing list
>>>>>>>>>>> macports-users at lists.macosforge.org
>>>>>>>>>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>>>>>>>>>>
>>>>> _______________________________________________
>>>>> macports-users mailing list
>>>>> macports-users at lists.macosforge.org
>>>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>>>>>>> _______________________________________________
>>>>>>>> macports-users mailing list
>>>>>>>> macports-users at lists.macosforge.org
>>>>>>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>>>> _______________________________________________
>>>>> macports-users mailing list
>>>>> macports-users at lists.macosforge.org
>>>>> http://lists.macosforge.org/mailman/listinfo/macports-users
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>>>
>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/macports-users
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGEzFpS0foIafBdlkRAvv6AJ9b85qxkeohQhcKDyyUmJhKjpqhAACfTKh5
> M12WM5DNLe8rgCaAa7KajxI=
> =XRs/
> -----END PGP SIGNATURE-----
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>





More information about the macports-users mailing list