PDA

Bekijk de volledige versie : Curl anyone?



barsju
09-02-2005, 18:50
Hi.
Has anyone succesully compiled curl for wl500g? If so could you post binaries here? If not could you do it? I would do it my self but I'm a bit to much of a Linux newbie. Or if some one could give a description of how to do it, I could give it a try..

Sjur

hugo
09-02-2005, 19:16
Here it is

Don't forget to set LD_LIBRARY_PATH to the folder where libs lies. Also, the 2 libs are a link in fact. You can use it as it is or restore the original link

Sorry, I don't have the time to do better tonight.

barsju
10-02-2005, 08:01
Thanx alot for your files!
However, I had some problems here, or perhaps I've missunderstood..

Anyways I tried to copy the files to my usb drive, made a startup script:

#/bin/sh
LD_LIBRARY_PATH=/tmp/harddisk/curl/
. ./curl $1 $2 $3 $4 $5 $6 $7 $8 $9


But i get error:
./curl: 1: Syntax error: "(" unexpected

Hope you can clarify...
Sjur

PS: What gives with the rar files? Are you using floppys, since you split into two files..? No difference to me.. Just wondering.. :)

hugo
10-02-2005, 08:56
You can only upload 1 Meg files on chupa. That's for the rar

Please try a simple

export LD_LIBRARY_PATH=/tmp/harddisk/curl/
then
./curl --help

Does it work?

barsju
10-02-2005, 11:51
Jupp! Sure did! Sweet. I'll report back if I have some more problems, but for now: Thx a lot! :D

Sjur

hugo
10-02-2005, 12:38
then your script must be:



!#/bin/sh
export LD_LIBRARY_PATH=/tmp/harddisk/curl/
./curl $1 $2 $3 $4 $5 $6 $7 $8 $9