Solaris/irssi

Från Basvrak

Hoppa till: navigering, sök

Building irssi with Perl support for (open)solaris 10

Building irssi for solaris using gcc usually fails with error message

LD_RUN_PATH="" cc  -G Channel.o  Core.o  Expando.o  Ignore.o  Irssi.o  Log.o  Masks.o  Query.o
Rawlog.o  Server.o  Settings.o  -o blib/arch/auto/Irssi/Irssi.so
sh: line 1: cc: not found
*** Error code 127
make: Fatal error: Command failed for target `blib/arch/auto/Irssi/Irssi.so'
Current working directory /pool/src/irssi-0.8.12/src/perl/common
sh[1]: cd: irc: [No such file or directory]
sh[1]: cd: ui: [No such file or directory]
sh[1]: cd: textui: [No such file or directory]
*** Error code 1

The immediate reason for this is that the Makefile generated in the src/perl/common directory erroneously tries to use "cc" as linker.

Building with SunStudioExpress

Install SunStudioExpress

pkg install sunstudioexpress

Set the correct path

export PATH=/opt/SunStudioExpress/bin:$PATH

Configure

CC=cc ./configure <option>

Build

make
Personliga verktyg
test