PDA

Bekijk de volledige versie : problem while trying to install lighttpd



ovidiupys
12-02-2008, 09:14
Hi. I recently installed oleg's firmware on asus wl500g premium using tutorials on this forum. There is a problem while trying to install lighttpd :
Installing pcre (7.6-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/pcre_7.6-1_mipsel.ipk
wget: server returned error 404: HTTP/1.1 404 Not Found
Nothing to be done
An error ocurred, return value: 22.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget -q -P /opt/ipkg-xJkGmL http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/pcre_7.6-1_mipsel.ipk'
Failed to download pcre. Perhaps you need to run 'ipkg update'?
How can that be solved ? Thank u.

raas
12-02-2008, 11:33
Hi,

!!! the information below is not right, take a look at the next reply !!!

I think that, instead of the ipkg-feed you are using, you should use the following feed as a location where ipkg can download packages.


http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/

(edit this path in /opt/etc/ipkg.conf)


The problem is, that the link you provided doesn't host the file you're after.
if you try the link in your browser, a 404 will happen. file not found. that's what ipkg is telling you.
It then suggests you to update to latest information. (because, the package you once were after, is now renamed, and is not available anymore under it's old name.... > ipkg update, so you have new name > download with new file name.. )

!!! The information above is not right, take a look at the next reply !!!

Also, for a great lighttpd/php tutorial look here: http://www.wl500g.info/showthread.php?t=5247

HTH

al37919
12-02-2008, 12:33
raas:
http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/ is an old "unslung/wl500g" repository which is incompatible with new and recommended "optware/oleg" which he is using. The packages between these two repositories can not be mixed, as they are linked against different libs.

So, his repository is OK. The reason is somewhere else.

It seems that pcre is temporary unavailable... You might either wait for some time, or ask oleo why. :)

raas
12-02-2008, 12:54
raas:
http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/ is an old "unslung/wl500g" repository which is incompatible with new and recommended "optware/oleg" which he is using. The packages between these two repositories can not be mixed, as they are linked against different libs.

So, his repository is OK. The reason is somewhere else.

It seems that pcre is temporary unavailable... You might either wait for some time, or ask oleo why. :)

Hi,

wow, I really didn't know that!
Sorry for giving information that is not right.
(I've never heard of this location, so I assumed this was wrong., I've edited my reply to make sure no one is following the directions)

Thankfully we have real guru's around who can correct such mistakes.
:D

(and even if I look an hour later, I really don't know what I was thinking in my first reply)

ovidiupys
12-02-2008, 15:49
Thank you for your answers. I browsed a little more this link http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ and i saw a package named apache_2.2.8-1_mipsel.ipk. I am asking for your opinion about installing this package and then the php module for having a web server.

avberk
12-02-2008, 19:24
I am using 'appweb'. It's very stable.

Apache is probably putting a higher load on the wl500gp then
appweb or lighttpd.

gouryella
13-02-2008, 07:48
i have same problem, pcre was deleted from /cross/stable
but it can be found



wget http://ftp.osuosl.org/pub/nslu2/feeds/optware/openwrt-brcm24/cross/unstable/pcre_7.6-2_mipsel.ipk

and install it


ipkg install pcre_7.6-2_mipsel.ipk

try install lighttpd, it will be ok
btw: mysql same problem
http://ftp.osuosl.org/pub/nslu2/feeds/optware/openwrt-brcm24/cross/unstable/mysql_4.1.20-3_mipsel.ipk

al37919
13-02-2008, 09:54
I'd recommend to be very careful while installing packages from different feed. They were compiled using different toolchain and probably will not work.

Has somebody asked oleo about this problem?

oleo
13-02-2008, 10:19
Latest upgrade of libuclibc++ breaked pcre build. I am working on it to solve the problem.