Subject: RE: probs with things from pkgsrc
To: nm <nm@vt.edu>
From: LeRoy C. Miller III <qball@ansic.net>
List: netbsd-help
Date: 04/23/2000 19:20:41
recompile c++rt0.o with -fPIC instead of -fpic (defualt) this will fix the
ncurses problem. It's a really quick compile and simple.
/usr/src/lib/csu/c++/ is the dir.
Hope this helps
LeRoy
On 23-Apr-00 nm wrote:
> I am trying to install mutt and apache (with ssl) from pkgsrc.
> I have an IPX running 1.4.2 (using pkgsrc from 1.4.2)
>
> The build of mutt stops on ncurses with
> ld: /usr/lib/c++rt0.o: illegal reloc type mix
>
> Any ideas on how to fix this? (the log is at the end).
>
> As for apache:
>
> I did a make install from the www/apache directory.
> Then I did a make install from the www/ap-ssl directory.
> I edited httpd.conf, then ran apachectl startssl
>
> Then I get a core dump. openssl dumps core. Should I go
> about building apache ssl another way?
>
>
> Thanks,
>
> Nick Maniscalco
> nmanisca@vt.edu
>
>
> bash-2.03# make
> ===> Validating dependencies for mutt-1.0.1
>>> Checksum OK for mutt-1.0.1.tar.gz.
> ===> Extracting for mutt-1.0.1
> ===> mutt-1.0.1 depends on file: /usr/local/bin/autoconf - found
> ===> mutt-1.0.1 depends on file: /usr/local/bin/automake - found
> ===> mutt-1.0.1 depends on executable: gmake - /usr/local/bin/gmake found
> ===> mutt-1.0.1 depends on package: ncurses>=4.2
> ===> Verifying install for ../../devel/ncurses
> ===> Building for ncurses-5.0
> cd man && make - INSTALL_PREFIX="" all
> cd include && make - INSTALL_PREFIX="" all
> cd ncurses && make - INSTALL_PREFIX="" all
> cd progs && make - INSTALL_PREFIX="" all
> cd tack && make - INSTALL_PREFIX="" all
> cd panel && make - INSTALL_PREFIX="" all
> cd menu && make - INSTALL_PREFIX="" all
> cd form && make - INSTALL_PREFIX="" all
> cd misc && make - INSTALL_PREFIX="" all
> cd test && make - INSTALL_PREFIX="" all
> cd c++ && make - INSTALL_PREFIX="" all
> cd ../lib && /usr/local/bin/pkglibtool-a.out-1.2p2 --cplusplus c++ -o
> libncurse
> s++.la ../objects/cursesf.lo ../objects/cursesm.lo ../objects/cursesw.lo
> ../obje
> cts/cursespad.lo ../objects/cursesp.lo ../objects/cursslk.lo
> ../objects/cursesap
> p.lo ../objects/cursesmain.lo -rpath /usr/local/lib -version-info 5:0
> rm -f .libs/libncurses++.la .libs/libncurses++.* .libs/libncurses++.*
> /usr/bin/ld -Bshareable -o .libs/libncurses++.so.5.0 ../objects/cursesf.lo
> ../ob
> jects/cursesm.lo ../objects/cursesw.lo ../objects/cursespad.lo
> ../objects/curses
> p.lo ../objects/cursslk.lo ../objects/cursesapp.lo ../objects/cursesmain.lo
> /usr
> /lib/c++rt0.o
> ld: /usr/lib/c++rt0.o: illegal reloc type mix
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> bash-2.03#
---
LeRoy C. Miller III
Network Administrator: ansic.net / darkphiber.org
Whois NIC: LM4772
Home Phone: 610-681-6504
Office Phone: 610-681-5894 Ext. 317
Email: qball@ansic.net / qball@darkphiber.org