pkgsrc-Bugs archive

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

pkg/45534: net/Transmission: compile error under OpenIndiana

>Number:         45534
>Category:       pkg
>Synopsis:       net/Transmission: compile error under OpenIndiana
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 28 07:30:00 +0000 2011
>Originator:     Andrey N. Oktyabrski
>Release:        OpenIndiana 151a
$ uname -a
SunOS thinkpot 5.11 oi_151a i86pc i386 i86pc Solaris
$ isainfo 
amd64 i386
$ which gcc
$ /usr/bin/gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.1/configure --prefix=/usr/gcc/4.6 
--libdir=/usr/gcc/4.6/lib --libexecdir=/usr/gcc/4.6/lib 
--mandir=/usr/gcc/4.6/share/man --infodir=/usr/gcc/4.6/info 
--with-build-time-tools=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
--with-ld=/opt/dtbld/bin/ld-wrapper --without-gnu-ld 
--enable-languages=c,c++,fortran,objc --enable-shared --disable-static 
--enable-decimal-float --with-gmp=/usr/gnu --with-mpfr=/usr/gnu 
--with-mpc=/usr/gnu --with-libiconv-prefix=/usr/gnu -enable-nls
Thread model: posix
gcc version 4.6.1 (GCC)
I have a strange error in configure phase. Here is a config.log fragment:

configure:3691: checking whether the C compiler works
configure:3713: gcc -O -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -lgetopt -lintl -liconv -static -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c  >&5
ld: fatal: library -lc: not found
ld: fatal: file processing errors. No output written to a.out

I think, the problem is in the "-static" - there is no static libc in both 
Solaris and Illumos.

I tried to compile Transmission by hands, it compiles and works well, without 
any errors.
$ cd /usr/pkgsrc/net/Transmission/
$ bmake

Home | Main Index | Thread Index | Old Index