LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   having ports problems with new freebsd install. (https://www.linuxquestions.org/questions/%2Absd-17/having-ports-problems-with-new-freebsd-install-309476/)

mushmaster 04-04-2005 01:08 AM

having ports problems with new freebsd install.
 
i'm a freebsd newbie, so hopefully this isn't too tricky a problem. i'm having trouble installing some ports. some work, but not others.

example:

______________________________________________________________

$ cd /usr/ports/multimedia/win32-codecs
$ sudo make install clean
Password:
>> qt63dlls-20040626.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/win32.
>> Attempting to fetch from http://www1.mplayerhq.hu/MPlayer/releases/codecs/.
fetch: http://www1.mplayerhq.hu/MPlayer/rel...40626.tar.bz2: Not Found
>> Attempting to fetch from http://www2.mplayerhq.hu/MPlayer/releases/codecs/.
fetch: http://www2.mplayerhq.hu/MPlayer/rel...40626.tar.bz2: Not Found
>> Attempting to fetch from http://www.mplayerhq.hu/MPlayer/releases/codecs/.
fetch: http://www.mplayerhq.hu/MPlayer/rele...40626.tar.bz2: Not Found
>> Attempting to fetch from http://www1.mplayerhq.hu/MPlayer/releases/codecs/.
fetch: http://www1.mplayerhq.hu/MPlayer/rel...40626.tar.bz2: Not Found
>> Attempting to fetch from http://www2.mplayerhq.hu/MPlayer/releases/codecs/.
fetch: http://www2.mplayerhq.hu/MPlayer/rel...40626.tar.bz2: Not Found
>> Attempting to fetch from ftp://ftp.mplayerhq.hu/MPlayer/releases/codecs/.
fetch: ftp://ftp.mplayerhq.hu/MPlayer/relea...40626.tar.bz2: File unavailable (e.g., file not found, no access)
>> Attempting to fetch from ftp://ftp.lug.udel.edu/MPlayer/releases/codecs/.
fetch: ftp://ftp.lug.udel.edu/MPlayer/relea...40626.tar.bz2: File unavailable (e.g., file not found, no access)
>> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/po...tfiles/win32/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/po...40626.tar.bz2: File unavailable (e.g., file not found, no access)
>> Couldn't fetch it - please try to retrieve this
>> port manually into /usr/ports/distfiles/win32 and try again.
*** Error code 1

Stop in /usr/ports/multimedia/win32-codecs.
________________________________________________________________

what's up?

sigsegv 04-04-2005 07:49 AM

Update your ports tree

mushmaster 04-04-2005 09:15 AM

i already did that.

mushmaster 04-04-2005 09:26 AM

... but i think my cvsup configuration had a problem with it. i'm trying it again with a small change.

frob23 04-04-2005 09:27 AM

You have not updated your ports tree. We can easily see this because you are trying to fetch: qt63dlls-20040626.tar.bz2 when qt63dlls-20050115.tar.bz2 is the current copy. This is also the copy which is requested in the current Makefile... and I haven't done an update in a few days so it has been there for a while.

Please, update your ports tree. To do that please do the following.

Put this all in one file, replacing XXX with the number of the server closest to you... when it doubt 1 will work but it will be slower than you could have gotten otherwise, named portsup.
Code:

*default tag=.
*default prefix=/usr
*default base=/usr/local/etc/cvsup
*default host=cvsupXXX.freebsd.org
*default release=cvs delete use-rel-suffix compress

ports-all

Then just type `cvsup -g portsup` and wait while it updates the entire tree to the current version.

mushmaster 04-04-2005 10:21 AM

ok, my ports collection tree is definitely old. but i can't seem to update it. here is my cvsup file:

____________________________

*default tag=.
*default host=cvsup2.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs delete use-rel-suffix

src-all

___________________________

then this runs for a few minutes:

___________________________

$ sudo cvsup -g -L 2 /root/ports-supfile
Parsing supfile "/root/ports-supfile"
Connecting to cvsup2.freebsd.org
Connected to cvsup2.freebsd.org
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
Shutting down connection to server
Finished successfully

__________________________

even after this, i can't see that anything has changed. the makefile for win32-codecs still has a last-modified date of july '04 and still points to an old and nonexistant distfile.

mushmaster 04-04-2005 10:28 AM

trying again with ports=all.

frob23 04-04-2005 10:58 AM

Okay, after you have updated that, please change the tag in the file you use for src-all. Then get all use cvsup to grab your source tree again. The reason I ask this is because you have currently upgraded your source tree to current. If you happened to build world from this current tree you would have a world of troubles.

Okay, I exagerrate -- the troubles might be minor but the system would not be nearly as stable as you probably want.

A good tag would be RELENG_5_3 (actually, RELENG_5_4 does currently work... although it is not a release yet... but into the release canidate). That will get you a 5.3 system with all the current security patches and bug fixes. Well, the source for the updated system... you would still need to build and install it -- if you wanted.


All times are GMT -5. The time now is 07:37 AM.