Request 249 was acted upon.
_________________________________________________________________________

         URL: https://rt.openpkg.org/id/249
      Ticket: [OpenPKG #249]
     Subject: apache/php conflicts with expat
  Requestors: [EMAIL PROTECTED]
       Queue: openpkg
       Owner: Nobody
      Status: new
 Transaction: Ticket created by [EMAIL PROTECTED]
        Time: Thu Sep 04 12:41:30 2003
_________________________________________________________________________


Hi.

When i first build expat and then apache with the following options:

openpkg build -r /u/openpkg/current/SRC -f /u/openpkg/current/SRC/00INDEX.rdf.bz2 
-Dapache::with_suexec=yes -Dapache::with_suexec_caller=opkg-n 
-Dapache::with_suexec_userdir=public_html -Dapache::with_mod_ssl=yes 
-Dapache::with_mod_php=yes -Dapache::with_mod_dav=yes -Dapache::with_mod_relocate=yes 
apache

the apache build fails with:

/opkg/home/bin/gcc  -DSOLARIS2=280 -DTARGET=\"apache\" -DMOD_SSL=208115 -DEAPI -
DEAPI_MM -O2 -pipe `./apaci` -L/opkg/lib -L/opkg/lib   \
      -o apache buildmark.o modules.o modules/ssl/libssl.a modules/php4/libphp4.
a modules/dav/libdav.a modules/standard/libstandard.a modules/extra/libextra.a m
odules/proxy/libproxy.a main/libmain.a ./os/unix/libos.a ap/libap.a    -R/usr/uc
blib -R/opkg/lib/gcc-lib/sparc-sun-solaris2.8/3.3.1 -R/opkg/lib  -L/usr/ucblib -
L/opkg/lib/gcc-lib/sparc-sun-solaris2.8/3.3.1 -L/opkg/lib -Lmodules/php4 -L../mo
dules/php4 -L../../modules/php4 -lmodphp4    -L/usr/ucblib -L/opkg/lib/gcc-lib/s
parc-sun-solaris2.8/3.3.1 -L/opkg/lib   -lmm -lssl -lcrypto -lresolv -lm -ldl -l
nsl -lsocket  -lgcc   -lsocket -lnsl -lpthread  -lssl -lcrypto -lmm -lexpat -ldl
ld: fatal: symbol `XML_SetSkippedEntityHandler' is multiply-defined:
        (file modules/php4/libphp4.a(xmlparse.o) and file /opkg/lib/libexpat.a(x
mlparse.o));
ld: fatal: File processing errors. No output written to apache
collect2: ld returned 1 exit status
make[3]: *** [target_static] Error 1
make[2]: *** [build-std] Error 2
make[1]: *** [build] Error 2
make: *** [build-quiet] Error 2
+ exit 2
error: Bad exit status from /projects/tmp/rpm-tmp.29946 (%build)

Under Solaris-8/SPARC - but this error does not look platform specific.
And hey, there are these infamous -L/usr/ucblib again (has also nothing
to do with the error, i think).


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
   >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to