Changes between Version 4 and Version 5 of DownloadFreeBSD


Ignore:
Timestamp:
Sep 15, 2010, 10:02:03 PM (4 years ago)
Author:
zenogantner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DownloadFreeBSD

    v4 v5  
    11= FreeBSD Installation Instructions = 
    2 == Installation using the Package Manager == 
    3 Because the FreeBSD Perl package comes without threads support no official Padre packages are available. The prefered method is to manually recompile Perl port to support threads and then build Padre and all it's dependencies from Ports (see [wiki:Download#FreeBSD1]). 
     2== Installation using pkg_add == 
     3Because the FreeBSD Perl package comes without threads support no official Padre packages are available. The prefered method is to manually recompile Perl port to support threads and then build Padre and all it's dependencies from Ports (see below). 
    44 
    5 However there are __'''highly experimental'''__ packages available for FreeBSD 6-STABLE and 7-STABLE. Before reading further '''be warned that you're using them at your own responsibility! ''' Neither Padre developers nor package contributor can be held responsible for any damage done to your computer. 
     5However there are __'''highly experimental'''__ packages available for FreeBSD 6-STABLE and 7-STABLE. 
    66 
    7 First, make sure you have deinstalled non-threaded Perl package or that you have threaded Perl already compiled. Please note, that after installing threaded Perl all Perl modules already installed have to be recompiled. All packages depends on Perl 5.8.9 (that's the current Perl version for 6 and 7 branches). 
     7First, make sure you have uninstalled the non-threaded Perl package or that you have threaded Perl already compiled. Please note, that after installing threaded Perl all Perl modules already installed have to be recompiled. 
     8All packages depend on Perl 5.8.9 (that's the current Perl version for 6 and 7 branches). 
    89 
    910First set `PACKAGESITE` environment variable to point to {{{ http://therek.net/freebsd/tb/6-STABLE-i386/All/Latest/ }}} for 6-STABLE or {{{ http://therek.net/freebsd/tb/7-STABLE-i386/All/Latest/ }}} for 7-STABLE. Then install packages as usual: 
     
    1617 
    1718Feedback is welcome. 
     19 
     20== Installation from Source == 
     21 
     22To run Padre on FreeBSD you have to recompile Perl to support threads. 
     23To verify whether your Perl installation has thread support turned on run following command. 
     24{{{ 
     25$ perl -V:usethreads 
     26usethreads='define'; 
     27}}} 
     28 
     29If the result is `define` then you have already threaded Perl installed, otherwise execute: 
     30{{{ 
     31# cd /usr/ports/lang/perl5.8 && make WITH_THREADS=yes 
     32# make deinstall && make reinstall 
     33}}} 
     34Optionally you can substitute `make WITH_THREADS=yes` with the following and choose `THREADS` in the menu. 
     35Then uninstall and reinstall Perl as above. 
     36This has an advantage over the previous method, because the preferred configuration options will be stored in your system's packing database. 
     37This way next time you'll be building Perl (i.e. updating) all stored options will be applied without the need to manually specify them. 
     38{{{ 
     39# make config 
     40# make 
     41}}} 
     42 
     43To install Padre and its dependencies just execute: 
     44{{{ 
     45# cd /usr/ports/editors/p5-Padre 
     46# make install clean 
     47}}} 
     48 
    1849 
    1950== Installation from CPAN ==