On Thu, Jul 10, 2008 at 1:37 PM, Ralf S. Engelschall <[EMAIL PROTECTED]> wrote: > > On Thu, Jul 10, 2008, Dewey Hylton wrote: > > > hi all, just found openpkg a month ago so i'm pretty green. i like what i > > see > > so far! > > > > building ncurses fails on solaris10/x86. i found this when attempting to > > build/ > > install screen. here is the relevant part of the output: > > > > cc --param max-inline-insns-single=1200 -o background > > ../objects/background.o > > -I../test -I. -DHAVE_CONFIG_H -I. -I../include -I/openpkg/include > > -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -DNDEBUG -I/openpkg/include/ncurses > > --param max-inline-insns-single=1200 `echo "-static -L../lib -lform -lmenu > > -lpanel -lncurses -dynamic " | sed -e 's/-lform.*-lpanel[^ ]*//'` -lm > > ld: fatal: library -lm: not found > > ld: fatal: library -lc: not found > > ld: fatal: File processing errors. No output written to background > > collect2: ld returned 1 exit status > > make[1]: *** [background] Error 1 > > make: *** [all] Error 2 > > > > where do i go from here? > > If libc.a and libm.a are not found this means your particular Solaris > installation is too less. You need to install the Solaris vendor > packages providing those two files, please. > > Ralf S. Engelschall > [EMAIL PROTECTED] > www.engelschall.com
neither of these are provided by solaris 10 any longer. is there a way to build this port without those static libraries? from docs.sun.com: In a 64-bit environment, many system libraries are available only as shared dynamic libraries. These include libm.so and libc.so (libm.a and libc.a are not provided). As a result, -Bstatic and -dn may cause linking errors in 64-bit Solaris operating systems. Applications must link with the dynamic libraries in these cases. here's when/why: http://blogs.sun.com/rie/entry/static_linking_where_did_it ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org