Re: Not able to install firefox 4 from 8.2 stable packages

2011-05-22 Thread Xn Nooby
On Sun, May 22, 2011 at 2:50 PM, Xn Nooby  wrote:
>>   # portsnap fetch update
>>   # cd /usr/ports/ports-mgmt/portmaster
>>   # make install
>>   # portmaster --check-depends
>>   # portmaster www/firefox
>
> Thanks!, that worked, though I had to do a 'rehash' after the 'make install'.
>
>> There is work going on to change this situation -- search the list
>> archives for discussion of pkgNG and PC-PSD's .pci format if you're
>> interested. In the mean time, many people find that installing
>> everything from source via the ports is the least frustrating method,
>> albeit at the cost of spending more time running compilations.
>
> I started using the approach of installing everything from ports, but
> it takes a long time to build things like xorg and firefox. Even
> though I don't like PC-BSD using KDE, their PBI system seems to
> circumvent these problems.  I will read up on pkgNG, too.  Thanks!

I got flash working with Firefox 4, there was apparently a bad
checksum in the ports tree.  I had to add a "make makesum" command.
My installation steps for Flash ended up being:

# kldload linux
# cd /usr/ports/emulators/linux_base-f10
# make install clean
# echo 'linux_enable="YES"' >> /etc/rc.conf
# echo 'linproc /usr/compat/linux/proc linprocfs rw 0 0' >> /etc/fstab
# mount -a
# cd /usr/ports/www/nspluginwrapper
# make install clean
# cd /usr/ports/www/linux-f10-flashplugin10
# make makesum
# make install clean

Now I can integrate this into my install script.

thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Not able to install firefox 4 from 8.2 stable packages

2011-05-22 Thread Xn Nooby
>   # portsnap fetch update
>   # cd /usr/ports/ports-mgmt/portmaster
>   # make install
>   # portmaster --check-depends
>   # portmaster www/firefox

Thanks!, that worked, though I had to do a 'rehash' after the 'make install'.

> There is work going on to change this situation -- search the list
> archives for discussion of pkgNG and PC-PSD's .pci format if you're
> interested. In the mean time, many people find that installing
> everything from source via the ports is the least frustrating method,
> albeit at the cost of spending more time running compilations.

I started using the approach of installing everything from ports, but
it takes a long time to build things like xorg and firefox. Even
though I don't like PC-BSD using KDE, their PBI system seems to
circumvent these problems.  I will read up on pkgNG, too.  Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Not able to install firefox 4 from 8.2 stable packages

2011-05-22 Thread Antonio Olivares
Xn Nooby,

On Sun, May 22, 2011 at 5:35 AM, Xn Nooby  wrote:
> I'm a struggling nooby.  I am trying to install firefox 4 on a fresh
> 8.2 installation. I want to the core system to track the "errata"
> branch, and get binary packages from 8-stable (which has firefox 4).
>
>
> I installed FreeBSD 8.2 release.
>
> # freebsd-update fetch install
>
> rebooted
>
> # portsnap fetch extract
>
> use BASH shell
>
> # export 
> PACKAGESITE="ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/Latest/";
>
> installed x11 and icewm
>
> # pkg_add -r firefox
>
> get perl conflict between 5.10 and 5.12
>
> # pkg_add -fr firefox
>
> firefox installs but I get "firefox3" instead of firefox 4.0
>
> # pkg_info| grep firefox
>
> shows "firefox-3.6.13,1"
>
> trying to use source
>
> # cd /usr/ports/www/firefox
> # make install clean
>
> get errors about firefox 4.0.1 needing nspr>=4.8.7
>
> # pkg_add -r nspr
>
> says nspr-4.8.6 or older is already installed
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>

Try deleting firefox
# pkg_del firefox
if this fails, then cd to /usr/ports/www/firefox
# cd /usr/ports/www/firefox/
# make deinstall
and from here try
# make install clean
 or

Then

# cd /usr/ports/www/firefox
# make install clean

I had a similar problem when I was upgrading to 8.2, but I worked it
out with ports.  I advise you to do the same.  If you encounter a
problem post it.  Many folks on the list are very kind and
knowledgeable and can advise a strategy to fix your problem.

Regards,

Antonio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Not able to install firefox 4 from 8.2 stable packages

2011-05-22 Thread Matthew Seaman
On 22/05/2011 06:35, Xn Nooby wrote:
> I'm a struggling nooby.  I am trying to install firefox 4 on a fresh
> 8.2 installation. I want to the core system to track the "errata"
> branch, and get binary packages from 8-stable (which has firefox 4).
> 
> 
> I installed FreeBSD 8.2 release.
> 
> # freebsd-update fetch install
> 
> rebooted
> 
> # portsnap fetch extract
> 
> use BASH shell
> 
> # export 
> PACKAGESITE="ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/Latest/";
> 
> installed x11 and icewm
> 
> # pkg_add -r firefox
> 
> get perl conflict between 5.10 and 5.12
> 
> # pkg_add -fr firefox
> 
> firefox installs but I get "firefox3" instead of firefox 4.0
> 
> # pkg_info| grep firefox
> 
> shows "firefox-3.6.13,1"
> 
> trying to use source
> 
> # cd /usr/ports/www/firefox
> # make install clean
> 
> get errors about firefox 4.0.1 needing nspr>=4.8.7
> 
> # pkg_add -r nspr
> 
> says nspr-4.8.6 or older is already installed

   # portsnap fetch update
   # cd /usr/ports/ports-mgmt/portmaster
   # make install
   # portmaster --check-depends
   # portmaster www/firefox

Portmaster will upgrade any out-of-date dependencies for you, which will
include upgrading devel/nspr to version 4.8.7 (the latest available in
ports at this time) as part of the process of compiling and installing
the software from ports.

Your experience illustrates some of the biggest problems with
ports/packages

   -- there's no concept of 'alternate dependencies' in compiled
packages.  This means that if you install software that has, eg. a
dependency on perl using packages from ftp.freebsd.org, then you
will have to install the default lang/perl5.10 perl port.  If you
install from source using the ports then the system is a lot more
flexible and will allow you to mix and match whatever versions you
require a lot more freely.

  -- similarly, the dependencies recorded in a pkg list exactly the
versions they were compiled against.  pkg_add will accept a *newer*
version of a pkg when it is trying pull down any dependency
packages, but not an older one, even if the software would work
perfectly well when compiled against the older version.   There
isn't a mechanism for saying eg. "this pkg needs any version of
foobar>=3.1.459 because that's where some critical functionality
was introduced"

  -- just using the standard pkg tools doesn't give you much room to
understand what alternative versions of software are available, or
guide you in choosing between them.  So there are currently 8
different ports named matching 'firefox*', including 3 different
upstream software versions, plus options to do with
internationalization.  You'ld need to investigate the pkg-descr
files via http://www.freebsd.org/ports or
http://www.freshports.org/ or by installing the ports tree, in
order to make an informed choice (and you'ld need to know that
those resources existed; not necessarily obvious to a beginner).

  -- it can be difficult to mix and match pkgs from several different
repositories or from a mixture of packages and ported software; not
because of any functional difference between pkgs and ports
(because there isn't any) but because of dependency and version
conflicts.  Also, the concept of 'multiple package repositories'
hasn't really penetrated the FreeBSD psyche.  If you are using pkgs
but not from the official FreeBSD pkg archive, then you've probably
rolled your own local pkg system which you use exclusively.

There is work going on to change this situation -- search the list
archives for discussion of pkgNG and PC-PSD's .pci format if you're
interested. In the mean time, many people find that installing
everything from source via the ports is the least frustrating method,
albeit at the cost of spending more time running compilations.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Not able to install firefox 4 from 8.2 stable packages

2011-05-21 Thread Xn Nooby
I'm a struggling nooby.  I am trying to install firefox 4 on a fresh
8.2 installation. I want to the core system to track the "errata"
branch, and get binary packages from 8-stable (which has firefox 4).


I installed FreeBSD 8.2 release.

# freebsd-update fetch install

rebooted

# portsnap fetch extract

use BASH shell

# export 
PACKAGESITE="ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/Latest/";

installed x11 and icewm

# pkg_add -r firefox

get perl conflict between 5.10 and 5.12

# pkg_add -fr firefox

firefox installs but I get "firefox3" instead of firefox 4.0

# pkg_info| grep firefox

shows "firefox-3.6.13,1"

trying to use source

# cd /usr/ports/www/firefox
# make install clean

get errors about firefox 4.0.1 needing nspr>=4.8.7

# pkg_add -r nspr

says nspr-4.8.6 or older is already installed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"