dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


GNU-Darwin: FreeBSD Ports for GNU/Linux $HOME

Sep 20, 2001, 22:15 (4 Talkback[s])

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


proclus writes:

We have a special ports tarball for GNU/Linux users, which does not require root access. It is not fully automated yet, but you can untar it in your home directory and try it.

http://prdownloads.sourceforge.net/gnu-darwin/ports-user-linux.tar.gz

Set up a subtree in ~/usr by adding the following varibles in your ~/.bashrc.

alias make="make -I ~/usr/ports/Mk" PATH="$home/usr/local/bin:$HOME/usr/bin:$HOME/usr/X11R6/bin:$PATH" export PATH

Also, edit ~/usr/ports/Mk/* and change the occurances of /home/love to your home directory path.

"cd ~/usr/ports" and select the software that you want to try. Change to that directory and type "make install". Cross your fingers ;-}.

If you run into problems, consult the GNU-Darwin ports directions and adapt them to the new situation.

http://gnu-darwin.sourceforge.net/ports

Cheers!

proclus
http://proclus.tripod.com/

BTW, Here is an example that worked OK for me.

wget http://prdownloads.sourceforge.net/gnu-darwin/ports-user-linux.tar.gz
tar -zxf ports-user-linux.tar.gz
bash
alias make="make -I ~/usr/ports/Mk"
PATH="$home/usr/local/bin:$HOME/usr/bin:$HOME/usr/X11R6/bin:$PATH"
export PATH
cd ~/usr/ports/
cd deskutils/cal/
make
cd work/cal-3.5/source/
./cal
cd ../../../
make install
When I tried "make install", I got an error because I wasn't root. I fixed the problem like this:
chmod 755 /home/love/usr/local/bin/cal
cal

Related Stories: