Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12782 closed defect (worksforme)

libxslt fails to install

Reported by: jeb@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: libxslt Cc: jeb@…, sfiera@…
Port:

Description

I'm setting a new imac, still quite a clean install at the moment. I installed macports 1.5 by downloading the dmg then running sudo port sync.

I've successfully installed apache2 but when I try to install libxlst I get the following error -:

---> Fetching libxslt ---> Attempting to fetch libxslt-1.1.22.tar.gz from ftp://xmlsoft.org/libxslt/ ---> Attempting to fetch libxslt-1.1.22.tar.gz from http://svn.macports.org/repository/macports/distfiles/libxslt ---> Attempting to fetch libxslt-1.1.22.tar.gz from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch libxslt-1.1.22.tar.gz from http://svn.macports.org/repository/macports/downloads/libxslt Error: Target org.macports.fetch returned: fetch failed Error: Status 1 encountered during processing.

Thanks

jebw

Change History (8)

comment:1 Changed 17 years ago by sfiera@…

Cc: jeb@… sfiera@… added
Milestone: Port Bugs

I just tried a port fetch libxslt and I was able to fetch libxslt-1.1.22.tar.gz just fine. Either your problem was transient, and you should try again, or you have something in your firewall blocking FTP ports.

A workaround would be to fetch the file (ftp://xmlsoft.org/libxslt/libxslt-1.1.22.tar.gz) manually, then place it in /opt/local/var/macports/distfiles/libxslt and port install libxslt again.

comment:2 Changed 17 years ago by jeb@…

FTP normally works just fine from our network, we're web developers and Ive not found an ftp server we can't connect to yet.

I've tried wgetting the file from that address, ftp connects fine, cd's into the directory but then gets permissioned denied on that file??

thanks

jebw

comment:3 Changed 17 years ago by sfiera@…

Do you mean that you got a permission error trying to download the file into the distfiles dir? That directory is owned by root, so you would need to sudo wget ..., or better yet, download the file elsewhere then sudo cp it.

comment:4 Changed 17 years ago by jeb@…

Scratch that last comment. Realised the permission denied error was from my mac - I was running wget without sudo.

This means that it is port that couldn't retrieve the file for some reason, since wget was running from the same user on the same host, subject to the same firewall restrictions. What does port use for downloading files - curl?

Just to clarify - I tried running sudo port install libxslt directly before wgetting, and it was still failing to download the file. Its now happily installing since I prefetched the tarball.

thanks

jeb

comment:5 Changed 17 years ago by sfiera@…

MacPorts uses libcurl for fetching, yes. How does the standalone curl do at fetching the file?

comment:6 Changed 17 years ago by jeb@…

happily downloaded it into /opt/local/..... using 'sudo curl' which is odd? I'm not sure whats failing. I'll just have to put it down to bad luck or something :)

thanks

comment:7 Changed 17 years ago by sfiera@…

Resolution: worksforme
Status: newclosed

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.