Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2005 10:50:01 -0300
From:      "J. Christian Dupuis" <c.dupuis@unb.ca>
To:        gnome@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   Problems installing firefox-1.0.7_1,1
Message-ID:  <433D4289.6050602@unb.ca>

next in thread | raw e-mail | index | archive | help
I've tried to update my firefox version on my FreeBSD machine, but I've 
run into problems when installing. Here is the information asked for in 
the pck-message.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 >> uname -a
FreeBSD magellan.mcloed.unb.ca 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun 
May  8 10:21:06 UTC 2005     
root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

The Make file was made sept 23 17:42
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Here is the error message I get when I try to install the port.

In file included from nsDNSService2.h:40,
                 from nsDNSService2.cpp:38:
nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' 
with no type
nsHostResolver.h:95: error: expected `;' before '*' token
nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() 
const':
nsHostResolver.h:99: error: `addr_info' undeclared (first use this function)
nsHostResolver.h:99: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
nsHostResolver.h: At global scope:
nsHostResolver.h:209: error: `PRAddrInfo' has not been declared
nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter' 
with no type
nsDNSService2.cpp: In member function `virtual nsresult 
nsDNSRecord::GetCanonicalName(nsACString&)':
nsDNSService2.cpp:95: error: 'class nsDerivedSafe<nsHostRecord>' has no 
member named 'addr_info'
nsDNSService2.cpp:96: error: 'class nsDerivedSafe<nsHostRecord>' has no 
member named 'addr_info'
nsDNSService2.cpp:96: error: `PR_GetCanonNameFromAddrInfo' undeclared 
(first use this function)
nsDNSService2.cpp: In member function `virtual nsresult 
nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)':
nsDNSService2.cpp:112: error: 'class nsDerivedSafe<nsHostRecord>' has no 
member named 'addr_info'
nsDNSService2.cpp:113: error: 'class nsDerivedSafe<nsHostRecord>' has no 
member named 'addr_info'
nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' undeclared (first 
use this function)
nsDNSService2.cpp: In member function `PRUint16 
nsDNSService::GetAFForLookup(const nsACString&)':
nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' undeclared (first use this 
function)
gmake[4]: *** [nsDNSService2.o] Error 1
gmake[4]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla/netwerk/dns/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla/netwerk/dns'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/www/firefox.


Hope this helps. I really like FreeBSD and Firefox. Keep up the good 
work ;-)

Christian Dupuis

University of New Brunswick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?433D4289.6050602>