Apcahe2 64bit on solaris 10 sparc!


 
Thread Tools Search this Thread
Operating Systems Solaris Apcahe2 64bit on solaris 10 sparc!
# 1  
Old 02-10-2010
Apcahe2 64bit on solaris 10 sparc!

Hi,

i'm trying to compile apache 2.2.13 on solaris 10 sparc as 64bit and for some reason its always compiled as 32bit!

i know it can be done cause i've already done it before, so i'm not sure what am i doint wrongImage

i've edit /.profile on my machine to include the following lines:
Code:
CC="gcc -m64"
MAKE="gmake"
CFLAGS="-O2"
LDFLAGS="-s -L/usr/lib/sparcv9 -R/usr/sfw/lib/sparcv9 -R/usr/lib/sparcv9 -R/usr/sfw/lib/sparcv9

i make sure i cann this values using echo $<parameter>
i've extracted the httpd-2.2.13 tar and using the following command to compile it:
Code:
./configure --prefix=/usr/local/apache2-12.64 --libdir=/usr/lib/64 -enable-lib64 --with-mpm=worker --enable-ssl --enable-proxy --enable-proxy-http --with-included-apr --with-ssl=/usr/local/ssl

the ssl library installed using a regular rpm of openssl-0.7.9.7-sol10-sparc.
the configure, make and make install commands works.
but when execute "file /usr/local/apache2-12.64/bin/httpd" i'm getting its an ELF32 bit!


what am i doing wrong??
thanks
levi

Last edited by pludi; 02-10-2010 at 06:27 AM.. Reason: code tags, please...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

SUNWi1cs SUNWi15cs packages for solaris 10 64bit sparc

hi, i need to install SUNWi1cs and SUNWi15cs packages for solaris 10 sparc 64 bit , where can i download these packages . Thanks . (2 Replies)
Discussion started by: zeeshan047
2 Replies

2. Solaris

where can i download solaris 10 64bit for my intel machine?

where can i download solaris 10 64bit for my intel machine? i am able to find only 32bit solaris for intel machine. Please help me.. (2 Replies)
Discussion started by: chidori
2 Replies

3. Solaris

Where to download solaris 10 for sparc 64bit?

hi all I just got a sun blade 2000 server for free. I need to load a solaris 10 for sparc OS to it. the memory inside the box is 5gb. the cup is SUNW,UltraSPARC-III+ (1200 MHz @ 8:1, 8 MB). so my questions is 1. do I need to install a 64bit os or a 32bit os? 2. where can I download the... (3 Replies)
Discussion started by: rs6000er
3 Replies

4. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

5. Solaris

Solaris 64bit and Y2038 bug

Hi all, I'm runing a 64bit Solaris 9 system that supposedly isn't affected by the y2038 bug. If so, why can't I set de that from that point in time forward? root@machine>uname -a SunOS machine 5.9 Generic_118558-36 sun4u sparc SUNW,Sun-Fire-V440 root@machine>isainfo -b 64... (3 Replies)
Discussion started by: nullpt
3 Replies

6. Solaris

Solaris SPARC 10 64Bit -JDK Installation 1.6.05

In Sun Solaris 10, not able to create the key. JDK 1.6 Installed & PATH & JAVA_HOME both are referred to jdk 1.6. It is showing the belwo error Error: wrap() failed java.security.InvalidKeyException: wrap() failed at sun.security.pkcs11.P11RSACipher.engineWrap(P11RSACipher.java:395) at... (10 Replies)
Discussion started by: saktiviji
10 Replies

7. Solaris

32bit / 64bit issue with x86 solaris

i have solaris 10 x86 64bit installed on my pc (dell 3100). i then decided to move my hard drive to another pc (dell 4600). I noticed that each time i boot up, the OS show as 32 bit (instead of 64bit) and i can't even get past this stage to the login page. when i moved it back to dell 3100 it... (13 Replies)
Discussion started by: seyiisq
13 Replies

8. Solaris

CC 5.5 compiler flag to issue 64bit porting warnings on sparc-solaris

Hi, We are porting our application from 32bit to 64bit. We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings. But we are not getting any porting warninings WE are using CC 5.5 compiler on sparc-solaris m/c. Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies
Login or Register to Ask a Question