Opened 15 years ago

Closed 15 years ago

#19579 closed defect (invalid)

apache2-2.2.11 Configure failure - build error

Reported by: pete.gadomski.public@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: builderror macosx tiger apache2 Cc:
Port: apache2

Description

apache2 is not building on my PPC iBook with MacOS X 10.4.11 (Tiger). Excerpts:

$ sudo port install apache2
--->  Fetching apache2
--->  Attempting to fetch httpd-2.2.11.tar.bz2 from http://www.ibiblio.org/pub/mirrors/apache/httpd
--->  Verifying checksum(s) for apache2
--->  Extracting apache2
--->  Applying patches to apache2
--->  Configuring apache2
--->  Building apache2
Error: Target org.macports.build returned: shell command " cd "/usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.11" && make all " returned error 2
Command output: 

Lots of output, then:

/usr/local/share/apr-1/build/libtool --silent --mode=link /usr/bin/gcc-4.0 -I/usr/local/include  -O2   -L/usr/local/lib/db46  -L/usr/local/lib -o htpasswd  htpasswd.lo   -L/usr/local/lib -lpcre /usr/local/lib/libaprutil-1.la -ldb-4.6 -liconv /usr/local/lib/libapr-1.la -lpthread
/usr/bin/ld: Undefined symbols:
_XML_ErrorString
_XML_GetErrorCode
_XML_Parse
_XML_ParserCreate
_XML_ParserFree
_XML_SetCharacterDataHandler
_XML_SetElementHandler
_XML_SetUserData
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

I have cleaned (sudo port clean --all apache2) before attempting install again, with no success.

Change History (1)

comment:1 Changed 15 years ago by blb@…

Resolution: invalid
Status: newclosed

/usr/local is not a supported prefix for MacPorts, see the the FAQ.

Note: See TracTickets for help on using tickets.