Problem compiling apache
am 31.01.2008 15:17:22 von rosoft
Hi
I have problem compiling apache. I have tried release 2.2.8 and 2.2.6. In
both releases I get an error saying that they compiler can't read a
/usr/lib/libexpat.so could not read symbols: File in wring format. Wrong
format or some thing. DOes this has to do with the fact tha I'm using a 64
bit version of Fedora 6?
I configure using
[root@localhost httpd.2.2.6]#./configure --prefix=/www
Make
[root@localhost httpd.2.2.6]#make
Error Message
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libaprutil-1.la] Error 1
make[3]: Leaving directory `/root/tools/httpd-2.2.6/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/tools/httpd-2.2.6/srclib/apr-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root
PLease Help
Re: Problem compiling apache
am 31.01.2008 15:25:22 von unknown
Post removed (X-No-Archive: yes)
Re: Problem compiling apache
am 31.01.2008 16:40:34 von rosoft
HI
Well there is so much problems with the Fedora 6 version I'm using so I'm
thinking of installing another Linux version. Maybe SUSE or Debian. One
Linux guru that I know recommended Debian another SUSE. As long as one of
them include a X11 system to maintain the server from it's OK with me.
What I would like to install is some thing that I never have exeprienced in
Linux. An install where every thing works after install. Network, Webserver
(Apache), MySQL, PHP, emacs, compilers, ASP.NET. There's always a lot of
shit when you install Linux. Yes Linux is a good OS byt a pain in the but to
install. Just the fact that I can't install Fedore 5,7 or 8 because it
doesn't support my SATA RADI system. My Windows XP installs was easy to
insatll, no problem at all. But Linux, no. It's as if Linux is designed only
to be installed by gurus. But as they say, more chefs makes worse soup.
Lars
"Davide Bianchi" skrev i meddelandet
news:slrnfq3mj2.3d7.davideyeahsure@fogg.onlyforfun.net...
> On 2008-01-31, rosoft wrote:
>> format or some thing. DOes this has to do with the fact tha I'm using a
>> 64
>> bit version of Fedora 6?
>
> Mostly that the file is corrupted or simply wrongly installed.
> I suggest you ask in the developer forum.
>
> Davide
>
> --
> As Snow White said to Pinocchio, "Tell a lie! Tell the truth! Tell a lie!
> Tell the truth!..." (someone on alt.sysadmin.recovery)
Re: Problem compiling apache
am 31.01.2008 16:51:28 von unknown
Post removed (X-No-Archive: yes)
Re: Problem compiling apache
am 31.01.2008 20:32:41 von Jim G
"Davide Bianchi" wrote in message
news:slrnfq3rkg.3d7.davideyeahsure@fogg.onlyforfun.net...
> On 2008-01-31, rosoft wrote:
>> What I would like to install is some thing that I never have exeprienced
>> in
>> Linux. An install where every thing works after install.
>
> This is not a linux group, if you're uncomfortable with Linux maybe
> you shouldn't use it.
>
> Davide
>
> --
> A computer without Windows is like a fish without a bicycle
When installing apache I would do it this way:
../configure --prefix=/www --with-expat=builtin
If you are going to be using ssl, make sure you compile that in too...
../configure --prefix=/www --with-expat=builtin --enable-ssl
This may not work as libtool is a 32bit library. As a quick work around you
could temporarily substitute the 64 bit libraries libexpat.* in /usr/lib64
for the 32 bit libraries in /usr/lib. This doesnt solve the problem, its
just a temp workaround.
Jim
Re: Problem compiling apache
am 01.02.2008 00:03:33 von rosoft
HI
But it was apache that was failing. Isn't this a group to help you find
errors related to apache? If I'm comfortable or not with Linux has nothing
to do with the fact that I'm using it. Linux is good for some things like a
webserver. However I don't recoment you to use Linux for audio production
due to lack of software. Foa audio production use a Windows XP PC or a MAC.
Sure thare are a buch of free programs to use that can rip CDs record audio
but so far I haven't seen any ting for professional audio production used in
studios.
Yours
Lars
"Davide Bianchi" skrev i meddelandet
news:slrnfq3rkg.3d7.davideyeahsure@fogg.onlyforfun.net...
> On 2008-01-31, rosoft wrote:
>> What I would like to install is some thing that I never have exeprienced
>> in
>> Linux. An install where every thing works after install.
>
> This is not a linux group, if you're uncomfortable with Linux maybe
> you shouldn't use it.
>
> Davide
>
> --
> A computer without Windows is like a fish without a bicycle
Re: Problem compiling apache
am 01.02.2008 00:43:14 von rosoft
Hi
Thanks, now it works in firefos to type http://127.0.0.1
--with-expat=builtin
Was the thing that helped me
Now I need to set up the firewall properly.
Don't remeber weather to us 192.168.0.xxx or 127.0.0.1. But the old confog
file I use us backuped on a USB hard drive, I'll check there.
Lars
"Jim G" skrev i meddelandet
news:47a2225b$0$6481$4c368faf@roadrunner.com...
>
> "Davide Bianchi" wrote in message
> news:slrnfq3rkg.3d7.davideyeahsure@fogg.onlyforfun.net...
>> On 2008-01-31, rosoft wrote:
>>> What I would like to install is some thing that I never have exeprienced
>>> in
>>> Linux. An install where every thing works after install.
>>
>> This is not a linux group, if you're uncomfortable with Linux maybe
>> you shouldn't use it.
>>
>> Davide
>>
>> --
>> A computer without Windows is like a fish without a bicycle
>
> When installing apache I would do it this way:
>
> ./configure --prefix=/www --with-expat=builtin
>
> If you are going to be using ssl, make sure you compile that in too...
>
> ./configure --prefix=/www --with-expat=builtin --enable-ssl
>
> This may not work as libtool is a 32bit library. As a quick work around
> you could temporarily substitute the 64 bit libraries libexpat.* in
> /usr/lib64 for the 32 bit libraries in /usr/lib. This doesnt solve the
> problem, its just a temp workaround.
>
> Jim
>
>
>
Re: Problem compiling apache
am 01.02.2008 01:36:50 von Jim G
"rosoft" wrote in message
news:9tsoj.3373$R_4.2418@newsb.telia.net...
> HI
>
> But it was apache that was failing. Isn't this a group to help you find
> errors related to apache? If I'm comfortable or not with Linux has nothing
> to do with the fact that I'm using it. Linux is good for some things like
> a webserver. However I don't recoment you to use Linux for audio
> production due to lack of software. Foa audio production use a Windows XP
> PC or a MAC. Sure thare are a buch of free programs to use that can rip
> CDs record audio but so far I haven't seen any ting for professional audio
> production used in studios.
>
>
> Yours
> Lars
>
>
> "Davide Bianchi" skrev i meddelandet
> news:slrnfq3rkg.3d7.davideyeahsure@fogg.onlyforfun.net...
>> On 2008-01-31, rosoft wrote:
>>> What I would like to install is some thing that I never have exeprienced
>>> in
>>> Linux. An install where every thing works after install.
>>
>> This is not a linux group, if you're uncomfortable with Linux maybe
>> you shouldn't use it.
>>
>> Davide
>>
>> --
>> A computer without Windows is like a fish without a bicycle
>
>
Lars, what is it that you are attempting to do, just serve webpages? When
you say you need to open up firewall rules, do you mean for apache,
sendmail, pop etc...? How familiar are you with linux and installing
programs or basic linux administration?
Let me know.
Thanks
Jim
Re: Problem compiling apache
am 01.02.2008 02:33:29 von rosoft
Hi
Open up my D-Link router on port 80. I included the firewall in my Fedora
install. So that is new to me. The laster server Iused was without firewall
rules. Anyhow Apache is working although without the PHP4 support. PHP4
workes but I can't find where the php4_module.so is installed. I tried
#cd /
find | grep "php4_module"
without finding it. When I compiled (make) PHP4 there where no errors as
installed it (make install). I installed php under /usr to be sure apache
would use PHP4 in stead of PHP5. Don't know if PHP5 is fully compatible with
PHP4 or if the mysql commands has changed. HAve to check that out. Maybe I
should try PHP5 instead.
I've never worked woth administrating linux. I have only set up my own
webservers at the office. A webserver for my homepage. Now I need a
webserver for demo for my scills in creating homepages.
Whenit comes to working under Linux and Unix in general I guess I have a
programmers skills not the administrators skills. But I have manages with
help form news groups and others to set up servers for pop3, sendmail for
php-mailing, vsftpd for a backup project I worked with for 2 years. At that
time I had to look into vsftpd and its config file in more detail. Setting
it up to work with routers etc. Seting it in passive mode and still let
users connect via ftp in passive mode.
Linux installer programs? Are you referring to the automatic update system
of rpm files. I have tried the rpm files but apache and php doesn't work for
me. The only rpm package for the webserver that I manage to install properly
was MySQL. A friend of mine, a skilled Linux system administrator at the
office complex where i had my office recomended me always to download and
compile Apache, MySQL, PHP and other programs since that usually is faster.
At least it was for him
I usually reinstall my Linux server every second year. In the mean time I
only work on it. Like when I developed the backup system we made.
My skills in Linux is more Unix skills such as scripting (mostly C-Shell).
USed that to maintain and manage backup files stored on our server. In
general I've been working with multimedia programs for Windows.
Hope I didn't get to booring
Yours
Lars
"Jim G" skrev i meddelandet
news:47a269b2$0$24092$4c368faf@roadrunner.com...
> "rosoft" wrote in message
> news:9tsoj.3373$R_4.2418@newsb.telia.net...
>> HI
>>
>> But it was apache that was failing. Isn't this a group to help you find
>> errors related to apache? If I'm comfortable or not with Linux has
>> nothing to do with the fact that I'm using it. Linux is good for some
>> things like a webserver. However I don't recoment you to use Linux for
>> audio production due to lack of software. Foa audio production use a
>> Windows XP PC or a MAC. Sure thare are a buch of free programs to use
>> that can rip CDs record audio but so far I haven't seen any ting for
>> professional audio production used in studios.
>>
>>
>> Yours
>> Lars
>>
>>
>> "Davide Bianchi" skrev i meddelandet
>> news:slrnfq3rkg.3d7.davideyeahsure@fogg.onlyforfun.net...
>>> On 2008-01-31, rosoft wrote:
>>>> What I would like to install is some thing that I never have
>>>> exeprienced in
>>>> Linux. An install where every thing works after install.
>>>
>>> This is not a linux group, if you're uncomfortable with Linux maybe
>>> you shouldn't use it.
>>>
>>> Davide
>>>
>>> --
>>> A computer without Windows is like a fish without a bicycle
>>
>>
>
> Lars, what is it that you are attempting to do, just serve webpages? When
> you say you need to open up firewall rules, do you mean for apache,
> sendmail, pop etc...? How familiar are you with linux and installing
> programs or basic linux administration?
>
> Let me know.
>
> Thanks
> Jim
Re: Problem compiling apache
am 01.02.2008 02:35:09 von rosoft
Hi
Open up my D-Link router on port 80. I included the firewall in my Fedora
install. So that is new to me. The laster server Iused was without firewall
rules. Anyhow Apache is working although without the PHP4 support. PHP4
workes but I can't find where the php4_module.so is installed. I tried
#cd /
find | grep "php4_module"
without finding it. When I compiled (make) PHP4 there where no errors as
installed it (make install). I installed php under /usr to be sure apache
would use PHP4 in stead of PHP5. Don't know if PHP5 is fully compatible with
PHP4 or if the mysql commands has changed. HAve to check that out. Maybe I
should try PHP5 instead.
I've never worked woth administrating linux. I have only set up my own
webservers at the office. A webserver for my homepage. Now I need a
webserver for demo for my scills in creating homepages.
Whenit comes to working under Linux and Unix in general I guess I have a
programmers skills not the administrators skills. But I have manages with
help form news groups and others to set up servers for pop3, sendmail for
php-mailing, vsftpd for a backup project I worked with for 2 years. At that
time I had to look into vsftpd and its config file in more detail. Setting
it up to work with routers etc. Seting it in passive mode and still let
users connect via ftp in passive mode.
Linux installer programs? Are you referring to the automatic update system
of rpm files. I have tried the rpm files but apache and php doesn't work for
me. The only rpm package for the webserver that I manage to install properly
was MySQL. A friend of mine, a skilled Linux system administrator at the
office complex where i had my office recomended me always to download and
compile Apache, MySQL, PHP and other programs since that usually is faster.
At least it was for him
I usually reinstall my Linux server every second year. In the mean time I
only work on it. Like when I developed the backup system we made.
My skills in Linux is more Unix skills such as scripting (mostly C-Shell).
USed that to maintain and manage backup files stored on our server. In
general I've been working with multimedia programs for Windows.
Hope I didn't get to booring
Yours
Lars
"Jim G" skrev i meddelandet
news:47a269b2$0$24092$4c368faf@roadrunner.com...
> "rosoft" wrote in message
> news:9tsoj.3373$R_4.2418@newsb.telia.net...
>> HI
>>
>> But it was apache that was failing. Isn't this a group to help you find
>> errors related to apache? If I'm comfortable or not with Linux has
>> nothing to do with the fact that I'm using it. Linux is good for some
>> things like a webserver. However I don't recoment you to use Linux for
>> audio production due to lack of software. Foa audio production use a
>> Windows XP PC or a MAC. Sure thare are a buch of free programs to use
>> that can rip CDs record audio but so far I haven't seen any ting for
>> professional audio production used in studios.
>>
>>
>> Yours
>> Lars
>>
>>
>> "Davide Bianchi" skrev i meddelandet
>> news:slrnfq3rkg.3d7.davideyeahsure@fogg.onlyforfun.net...
>>> On 2008-01-31, rosoft wrote:
>>>> What I would like to install is some thing that I never have
>>>> exeprienced in
>>>> Linux. An install where every thing works after install.
>>>
>>> This is not a linux group, if you're uncomfortable with Linux maybe
>>> you shouldn't use it.
>>>
>>> Davide
>>>
>>> --
>>> A computer without Windows is like a fish without a bicycle
>>
>>
>
> Lars, what is it that you are attempting to do, just serve webpages? When
> you say you need to open up firewall rules, do you mean for apache,
> sendmail, pop etc...? How familiar are you with linux and installing
> programs or basic linux administration?
>
> Let me know.
>
> Thanks
> Jim
Re: Problem compiling apache
am 01.02.2008 04:37:10 von Jim G
"rosoft" wrote in message
news:hHuoj.3378$R_4.2471@newsb.telia.net...
> Hi
>
> Open up my D-Link router on port 80. I included the firewall in my Fedora
> install. So that is new to me. The laster server Iused was without
> firewall
> rules. Anyhow Apache is working although without the PHP4 support. PHP4
> workes but I can't find where the php4_module.so is installed. I tried
>
> #cd /
> find | grep "php4_module"
>
> without finding it. When I compiled (make) PHP4 there where no errors as
> installed it (make install). I installed php under /usr to be sure apache
> would use PHP4 in stead of PHP5. Don't know if PHP5 is fully compatible
> with
> PHP4 or if the mysql commands has changed. HAve to check that out. Maybe I
> should try PHP5 instead.
>
> I've never worked woth administrating linux. I have only set up my own
> webservers at the office. A webserver for my homepage. Now I need a
> webserver for demo for my scills in creating homepages.
>
> Whenit comes to working under Linux and Unix in general I guess I have a
> programmers skills not the administrators skills. But I have manages with
> help form news groups and others to set up servers for pop3, sendmail for
> php-mailing, vsftpd for a backup project I worked with for 2 years. At
> that
> time I had to look into vsftpd and its config file in more detail. Setting
> it up to work with routers etc. Seting it in passive mode and still let
> users connect via ftp in passive mode.
>
> Linux installer programs? Are you referring to the automatic update system
> of rpm files. I have tried the rpm files but apache and php doesn't work
> for
> me. The only rpm package for the webserver that I manage to install
> properly
> was MySQL. A friend of mine, a skilled Linux system administrator at the
> office complex where i had my office recomended me always to download and
> compile Apache, MySQL, PHP and other programs since that usually is
> faster.
> At least it was for him
>
> I usually reinstall my Linux server every second year. In the mean time I
> only work on it. Like when I developed the backup system we made.
>
> My skills in Linux is more Unix skills such as scripting (mostly C-Shell).
> USed that to maintain and manage backup files stored on our server. In
> general I've been working with multimedia programs for Windows.
>
> Hope I didn't get to booring
> Yours
> Lars
>
>
> "Jim G" skrev i meddelandet
> news:47a269b2$0$24092$4c368faf@roadrunner.com...
>> "rosoft" wrote in message
>> news:9tsoj.3373$R_4.2418@newsb.telia.net...
>>> HI
>>>
>>> But it was apache that was failing. Isn't this a group to help you find
>>> errors related to apache? If I'm comfortable or not with Linux has
>>> nothing to do with the fact that I'm using it. Linux is good for some
>>> things like a webserver. However I don't recoment you to use Linux for
>>> audio production due to lack of software. Foa audio production use a
>>> Windows XP PC or a MAC. Sure thare are a buch of free programs to use
>>> that can rip CDs record audio but so far I haven't seen any ting for
>>> professional audio production used in studios.
>>>
>>>
>>> Yours
>>> Lars
>>>
>>>
>>> "Davide Bianchi" skrev i meddelandet
>>> news:slrnfq3rkg.3d7.davideyeahsure@fogg.onlyforfun.net...
>>>> On 2008-01-31, rosoft wrote:
>>>>> What I would like to install is some thing that I never have
>>>>> exeprienced in
>>>>> Linux. An install where every thing works after install.
>>>>
>>>> This is not a linux group, if you're uncomfortable with Linux maybe
>>>> you shouldn't use it.
>>>>
>>>> Davide
>>>>
>>>> --
>>>> A computer without Windows is like a fish without a bicycle
>>>
>>>
>>
>> Lars, what is it that you are attempting to do, just serve webpages? When
>> you say you need to open up firewall rules, do you mean for apache,
>> sendmail, pop etc...? How familiar are you with linux and installing
>> programs or basic linux administration?
>>
>> Let me know.
>>
>> Thanks
>> Jim
>
>
I know that with fedora core 6 it defaults to php 5. (5.1.2 I believe). Php
5 is backwards compatible to php 4 commands. I would recommend taking a look
at the changelog on the php.net site to see if any of the scripts that you
are using would be effected. As for setting up firewall rules and anything
else, I would recommend using webmin. Its free and provides a GUI for alot
of services. You can get it from www.webmin.net. Download the rpm and just
do an rpm -ivh webmin-1.380-1.noarch.rpm (not sure of the version number).
Then to access webmin from a machine outside your network, you will have to
open a port in iptables for port 10000 (thats the default port webmin uses).
You could open a port from the command line like this:
iptables -A INPUT -p tcp --dport 10000 -j ACCEPT
Then do
service iptables save
And port 10000 will be available for webmin.
As for php4 and php5 co-existing in the same enviornment, That would be
tough. Apache can only load one module for php, I had an issue on one of my
servers where I had php5 loaded but then was loading the module from php 4.
I was getting constant segmentation fault errors until I figured out what
was happening. Also instead of using the find command to locate a file, I
use the locate command. If you run updatedb (should be on a cron daily) and
then do
locate filename
You will find the location of your file that you are looking for if its on
the server.
Jim
Re: Problem compiling apache
am 01.02.2008 09:16:07 von unknown
Post removed (X-No-Archive: yes)
Re: Problem compiling apache
am 01.02.2008 19:09:57 von jon.doe
> On 2008-01-31, rosoft wrote:
>> But it was apache that was failing. Isn't this a group to help you find
>> errors related to apache?
>
> Not exactly, the group is related to the _configuration_ of apache,
> not development or programming, and it seems to me that the problem
> ain't related to apache -per-se, but on somethin in your distribution
> that ain't quite right.
>
> Davide
>
> --
> In a world without fences who needs Gates?
Good point bout "Gates"
The problem was solved by using ./configure the right way. ./configure must
mean that it is a configuration problem? Any how I got the responce I
needed. I have downloaded another distribution of Linux in which I hope that
I ONLY need to configure apace not reinstall and recomple. I might come back
with CONFIGURATION problems.
BTW
What's "-per-se". English is not my native language in case you didn't know.
Lars
Re: Problem compiling apache
am 01.02.2008 19:55:48 von Jeff Gaines
On 01/02/2008 in message Mr. R wrote:
>What's "-per-se". English is not my native language in case you didn't
>know.
Per se is a Latin legal expression, I was taught it meant "of itself" but
sometimes it is translated "by itself".
--
Jeff Gaines Damerham Hampshire UK
This is as bad as it can get, but don't bet on it