DeveloperSide.NET Forums
September 20, 2019, 10:22:58 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: apache2 compiling/make problem..  (Read 36859 times)
0 Members and 1 Guest are viewing this topic.
Anonymous
Guest
« Reply #15 on: January 08, 2004, 05:57:44 PM »

I had a thought, when running make on the openssl config I get the message

'-m486' is deprecated. Use 'march=i486' or '-mcpu=i486'

This message is printed at least a hundred times but the build seems to work anyway and I can run openssl version which shows the correct version number and date.

Could this be causing the error and how do I change it (a config file somewhere?) so that I don't get the above error?
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #16 on: January 08, 2004, 07:29:41 PM »

Stop putting the original source directories into the /usr/local/ssl and zlib directories.  Put them into /home/admin/ or something and then build.

You also need to build zlib before you build openssl.

Make sure all your prefixes are right and know what they mean...

Thats one of your problems, the other is something is misconfigured on your end.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Anonymous
Guest
« Reply #17 on: January 08, 2004, 08:31:57 PM »

ok I usually build from /usr/local/src but I moved them there when following the guide for some reason.

I built zlib first

The prefixes are ok from what I can tell, they are exactly how the guide shows they should be

Does the undefined symbol error mean it can't find a file then? As far as I can see they are all where they should be.

Any idea what could be misconfigured? I removed ALL of it and started again twice with this same error.

I would really appreciate the help with this.
Logged
Anonymous
Guest
« Reply #18 on: January 08, 2004, 08:54:30 PM »

It could be a Mandrake problem.

http://forums.devside.net/viewtopic.php?t=104&highlight=mandrake
Logged
Anonymous
Guest
« Reply #19 on: January 08, 2004, 11:13:21 PM »

Sorry I should have said, it's RH9
Logged
12789
Member
*
Posts: 1

send2zw@hotmail.com
View Profile
« Reply #20 on: May 11, 2005, 09:44:44 AM »

Quote from: "robin"
Hello everybody,

I'm pretty new to linux. Having said that, i ran into a linux problem i could resolve due to my experinece so i ended up reinstalling linux to resolve the problem...it was too...bad.... did a lot of work to it, toooo....

mandrake 9.2
using the instructions on this site...
i successfully install lzib and openssl...
problem is with apache..compile..
 ./configure --prefix=/wwwroot/apache --enable-mods-shared=most --enable-deflate --enable-ssl --with-z=/ssr/lib --with-ssl=/usr/lib

message i'm getting:
in file included from  /usr/include/zutil.h:17, from mod_deflate.c:79:
/usr/include/zlib.h:68 error: redefinition of 'struct z_stream_s'
/usr/include/zlib.h:705: error: conflictiong type for gzwrie'
/usr/local/include/zlib.h:982:error previous declaration of 'gzwrite'
/usr/include/zlib.h:882: error: redefinition of 'struct internal_state'
make[4]:***[mod_deflate.slo] error 1
make[4] leving directory '/downloads/httpd-2.0.48
make[3] ***[shared-build-recursive] error1
make[3]: leaving directory '/downloads/httpd-2.0.48/modules/filters'
make[2]: ***[shared-build-recursive] error 1
make[2] leaving directory /downloads/httpd-2.0.48/modules
make[1] ***[shared-build-recursive] error 1
make[1] leaving directory '/downloads/httpd-2.0.48'
make ***[all-recursive] error1

I had somewhat the same problem the first time i went throught the install and that provblem is documented here
http://forums.devside.net/viewtopic.php?t=104
tried tthe fix but still getting the same problem...


Cause your linux have two version zlib, so you can find /usr/include/zlib.h and /usr/local/include/zlib.h .
I use /usr/local/include/zlib.h overwrite /usr/include/zlib.h, this question is over.
Logged
Unclebob
Member
*
Posts: 1


View Profile
« Reply #21 on: August 07, 2005, 03:27:13 AM »

After spending many hours trying to compile  the Linux websuite, especially on an FC4 x86 platform - I finally found a possible workaround to all these "recursive errors". Instead of using the latest version of Openssl-0.9.8, use an older version of Openssl  0.9.7.g during the compiling process. Made all the difference in the world. However, the bad news is that on an FC4_x86_64 platform, Mysql for some mysterious reason spits out configure errors after the PHP "configure" command is invoked. Doesn't matter which version of either PHP, or Mysql is installed, the  results are the same  :(

Unclebob
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #22 on: August 21, 2005, 05:24:17 PM »

Quote from: "Unclebob"
After spending many hours trying to compile  the Linux websuite, especially on an FC4 x86 platform - I finally found a possible workaround to all these "recursive errors". Instead of using the latest version of Openssl-0.9.8, use an older version of Openssl  0.9.7.g during the compiling process. Made all the difference in the world. However, the bad news is that on an FC4_x86_64 platform, Mysql for some mysterious reason spits out configure errors after the PHP "configure" command is invoked. Doesn't matter which version of either PHP, or Mysql is installed, the  results are the same  :(

Unclebob


Are you using a 64bit version of mysql?

if so try with a 32bit version
Logged

Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!