Results tagged “freebsd” from The Cattle Grid

Sabato 28 Novembre 2009 si terrà a Udine l' Open Source Day, giornata dedicata a chi si avvicina al mondo dell'open source. Lo spirito è simile a quello del Linux Day, solo che... non si parla solo di Linux. ;-)

Sarà anche l'occasione, nel percorso avanzato, per parlare un po' di Perl. L'intervento non avrà comunque taglio particolarmente tecnico, ma sarà "introduttivo con la giusta dose di filosofia" (spero, visto che lo sto ancora preparando...). In definitiva, spero sarà una cosa piacevole per il pubblico. :-)

Accorrete dunque in massa all'Open Source Day! Oltre al mio intervento, ce ne sono altri alquanto interessanti. Il programma completo è disponibile qui.

I recently installed perl 5.10.1 on a FreeBSD managed server I have in a datacenter. Being the server fully managed, I do not have root access, so I installed in my own directory. As usual, I typed in:


$ sh Configure  -de -Dprefix=/usr/home/mylocal
$ make
$ make test
$ make install

Almost everything went fine, and I also noticed that the 5.10.1 installation does not require to be able to read /home (or /usr/home, the parent of the user directory, anyhow) anymore (it did so in 5.8.8 and 5.10.0); I can therefore install on an "hardened" FreeBSD box without requiring the ISP to make that directory readable for me.

What still happens is that almost everything gets installed where prefix says to. The installer, however, still attempts to install scripts (fex. perldoc, cpan, ...) in /usr/local/scripts (failing for lack of write permission, of course). To fix this I edited config.sh, looked for the installscript variable and changed it to /usr/home/mylocal/bin.

Everything worked fine, but is this an expected behaviour? Shouldn't prefix influence all the installation paths?

Tags

Find recent content on the main index or look in the archives to find all content.

Categories

Pages

Powered by Movable Type 4.23-en