httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46648] New: Apache 2.2.11 source code compilation for 64 bit on solaris 10 machine
Date Mon, 02 Feb 2009 20:38:44 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46648

           Summary: Apache 2.2.11 source code compilation for 64 bit on
                    solaris 10 machine
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: praveen.x.pant@jpmchase.com


Hi,
We are trying to compile 64 bit of Apache on a solaris 10 machine . We run into
an issue when running the compile with the error messages in the log as :



 gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I..
-I/local/apache22build_64/httpd-2
.2.11/srclib/apr-util/xml/expat/lib -m64 -DSSL_EXPERIMENTAL_ENGINE -c xmlrole.c
 -fPIC -DPIC -o .libs/xmlrole.
o
 gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I..
-I/local/apache22build_64/httpd-2
.2.11/srclib/apr-util/xml/expat/lib -m64 -DSSL_EXPERIMENTAL_ENGINE -c xmlrole.c
-o xmlrole.o >/dev/null 2>&1
/bin/bash ../libtool --mode=link  gcc -version-info 1:0:1
-DSSL_EXPERIMENTAL_ENGINE  -o libexpat.la -rpath /lo
cal/apache22build_64/apache22_64/lib  xmlparse.lo xmltok.lo xmlrole.lo
gcc -shared -Wl,-h -Wl,libexpat.so.0 -o .libs/libexpat.so.0.1.0 
.libs/xmlparse.o .libs/xmltok.o .libs/xmlrole
.o  -lc
ld: fatal: file .libs/xmlparse.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to .libs/libexpat.so.0.1.0
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libexpat.la'
Current working directory
/local/apache22build_64/httpd-2.2.11/srclib/apr-util/xml/expat/lib
*** Error code 1
The following command caused the error:
list='lib'; \
for dir in $list; do \
  cd $dir; make; cd ..; \
done
make: Fatal error: Command failed for target `build-subdirs'
Current working directory
/local/apache22build_64/httpd-2.2.11/srclib/apr-util/xml/expat
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive | sed s/-recursive//`; \
list='xml dbd dbm encoding hooks buckets misc crypto uri strmatch memcache
dbm/sdbm ldap xlate xml/expat'; \
for i in $list; do \
    if test -f "$i/Makefile"; then \
        target="$otarget"; \
        echo "Making $target in $i"; \



The configure command that we used is : 
export CFLAGS=-m64
        export CPPFLAGS=-m64
        ./configure \
                --prefix=/local/apache22build_64/apache22_$arch  \
                --enable-mods-shared=all \
                --enable-deflate \
                --enable-so \
                --enable-proxy=shared \
                --enable-ssl=static \
                --enable-cgid=shared \
                --enable-cache=shared \
                --enable-mem-cache=shared \
                --enable-file-cache=shared \
                --enable-disk-cache=shared \
                --with-z \
                --with-ssl=/local/apache22build_64/apache22_$arch/openssl \
                --without-gdbm \
                --without-ndbm \
                --without-berkeley-db \
                --with-mpm=$mpm \
                CFLAGS=-DSSL_EXPERIMENTAL_ENGINE \
                CPPFLAGS=-m64


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message