pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootstraping fails on Solaris 10 (newbie question)



Hi,

you're missing the SUNWhea package.

The list of packages that's necessary to bootstrap and compile stuff on
my Solaris 10 x86 box is here http://files.erineya.org/sol10x86.txt with
sun studio 12.

also had to set up correct paths for the linker and shell.

# crle -c /var/ld/ld.config -l
/usr/pkg/lib:/usr/lib:/usr/local/lib:/usr/ccs/lib
and

PATH=$PATH:/usr/pkg/bin:/usr/pkg/sbin:/usr/ccs/bin:/usr/local/bin
export PATH

in /etc/profile

The other thing I came across is an issue with sun studio - I had to
install it in batch mode (commandline parameter for the installer
script), because in the interactive mode some libraries were missing. I
googled this and found it as an issue for Sun Studio 10. It helped me
here as  well though.

Hope this helps,
jvl


Mandacarú Cascavel wrote:
> Hi, friends.
> 
>  I'm trying to bootstrap pkgsrc on Solaris 10 but it fails. The
> used compiler is sunpro (the same thing happens when gcc is used).
> I guess it is not a pkgsrc problem but something in the system
> installation. Could someone give me any hint? Thanks in advance. 
> 
>  I'm receiving the message below:
> 
> 
> 
> onfig.status: creating Makefile
> 
> config.status: creating nbcompat/config.h
> 
> nawk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
> 
> cc  -I. -I.  -g -DHAVE_CONFIG_H -c glob.c
> 
> "/usr/include/sys/byteorder.h", line 60: syntax error before or at: in_port_t
> 
> "/usr/include/sys/byteorder.h", line 65: syntax error before or at: in_addr_t
> 
> "/usr/include/sys/int_types.h", line 73: identifier redeclared: uint16_t
> 
>     current : unsigned short
> 
>     previous: int : "/usr/include/sys/byteorder.h", line 60
> 
> "/usr/include/sys/int_types.h", line 74: identifier redeclared: uint32_t
> 
>     current : unsigned int
> 
>     previous: int : "/usr/include/sys/byteorder.h", line 65
> 
> cc: acomp failed for glob.c
> 
> *** Error code 2
> 
> make: Fatal error: Command failed for target `glob.o'
> 
> ===> exited with status 1
> 
> aborted.
> 
> 
> 
> Mandacarú
> 
> 
> 
> 
> 
> 
> 
>       Novos endereços, o Yahoo! que você conhece. Crie um email novo com a 
> sua cara @ymail.com ou @rocketmail.com.
> 
> 
>       Novos endereços, o Yahoo! que você conhece. Crie um email novo com a 
> sua cara @ymail.com ou @rocketmail.com.
> http://br.new.mail.yahoo.com/addresses

-- 
______________________________________________________________________________
[ Honza Vlach <janus%volny.cz@localhost> ] [ ICQ# 43642451 ] [ jabber:
janus%jabber.cz@localhost ]
"Animals are my friends... and I don't eat my friends."
  --  George Bernard Shaw


Home | Main Index | Thread Index | Old Index