HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   x84_64 (http://www.howtoforge.com/forums/showthread.php?t=127)

srg 26th July 2005 20:21

x84_64
 
What about x86_64 arch? I had a lot of troubles with compile openssl/php :'-(
Or may be here is a list of packages, which needs for good setup?

tylerdurden 26th July 2005 20:27

What's exactly yor problem? You tried to compile PHP and OpenSSL on x86_64? Any error messages?

tyler

till 26th July 2005 20:37

Is your question related to the installation of ISPConfig or a general question about compiling PHP + OpenSSL on x86_64?

Till

srg 26th July 2005 20:41

configure: error: Cannot find libmysqlclient under /usr.
At php`s configure need to fix line 56512 to "for i in lib64 lib64/mysql; do" (I think so)

I don`t know what to do with this link problem:
/usr/bin/ld: /root/ispconfig/openssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/root/ispconfig/openssl/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
ERROR: Could not make PHP

MANIX 26th July 2005 20:58

Quote:

Originally Posted by till
Is your question related to the installation of ISPConfig or a general question about compiling PHP + OpenSSL on x86_64?

Till

ISPConfig!

srg 26th July 2005 21:27

Some way is to compile php with openssl from Linux distribution. I don't think, that here is something wrong. Or I'm wrong?

till 26th July 2005 21:53

Quote:

Originally Posted by srg
Some way is to compile php with openssl from Linux distribution. I don't think, that here is something wrong. Or I'm wrong?

This might work when you replace the sources in the "compile_aps" folder inside the installer directory with the sources that comes with your linux distribution. Or you modify the compile script in this folder to use other source locations.

Till

srg 26th July 2005 22:11

Quote:

Originally Posted by till
This might work when you replace the sources in the "compile_aps" folder inside the installer directory with the sources that comes with your linux distribution. Or you modify the compile script in this folder to use other source locations.
Till

neet to configure php with:
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php --with-openssl --with-mysql=/usr --disable-libxml

+need to install openssl-devel, bison, byacc. May be some else.

Next, what was wrong, if at installation I get
########## INSTALLATION ##########

Preparing files. Please wait a moment...
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
mv: cannot overwrite directory `ispconfig/tools/uudeview/uudeview'
mv: cannot overwrite directory `ispconfig/tools/clamav/clamav'
?
It's my mistake or not?

falko 26th July 2005 22:25

Quote:

Next, what was wrong, if at installation I get
########## INSTALLATION ##########

Preparing files. Please wait a moment...
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
mv: cannot overwrite directory `ispconfig/tools/uudeview/uudeview'
mv: cannot overwrite directory `ispconfig/tools/clamav/clamav'
?
It's my mistake or not?
The setup script aborts instantly if the compilation fails. You shouldn't have reached the
Quote:

########## INSTALLATION ##########

Preparing files. Please wait a moment...
section, so I guess you did something wrong when you edited ISPConfig files... Can you tell me what exactly you did?

srg 26th July 2005 22:53

Quote:

Originally Posted by falko
The setup script aborts instantly if the compilation fails. You shouldn't have reached the

section, so I guess you did something wrong when you edited ISPConfig files... Can you tell me what exactly you did?

tar -xzf ISPConfig-2.0.5.tar.gz
cd install_ispconfig/
tar -xzf compile_aps/php-5.0.4.tar.gz
vim php-5.0.4/configure +56512 (to lib64 lib64/mysql)
tar -czf compile_aps/php-5.0.4.tar.gz php-5.0.4
vim compile_aps/compile +85
change to
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php --with-openssl --with-mysql=/usr --disable-libxml
./setup
.....


All times are GMT +2. The time now is 09:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.