*****SPAM***** Re[2]: Q: How to install contrib libs

Vadim Zeitlin vadim at wxwidgets.org
Tue Jan 22 16:43:08 PST 2008


On Wed, 23 Jan 2008 11:39:42 +1100 Ron Savage <ron at savage.net.au> wrote:

RS> >  Sorry, I didn't notice that you tried. How exactly didn't it work?
RS> 
RS> Well, make install just installs into /usr/include, as echoed on screen:
RS> <===><8===>
RS> make[2]: Entering directory `/home/ron/wxGTK-2.8.7/contrib/src/stc'
RS> /usr/bin/install -c -d /usr/local/lib
RS> /usr/bin/install -c -m
RS> 644 /home/ron/wxGTK-2.8.7/lib/libwx_gtk2_stc-2.8.so /usr/local/lib
RS> /usr/bin/install
RS> -c /home/ron/wxGTK-2.8.7/lib/libwx_gtk2_stc-2.8.so.0.4.0 /usr/local/lib
RS> (cd /usr/local/lib ; rm -f libwx_gtk2_stc-2.8.so
RS> libwx_gtk2_stc-2.8.so.0; ln -s libwx_gtk2_stc-2.8.so.0.4.0
RS> libwx_gtk2_stc-2.8.so.0; ln -s libwx_gtk2_stc-2.8.so.0
RS> libwx_gtk2_stc-2.8.so)
RS> /usr/bin/install -c -d /usr/local/include/wx-2.8
RS> for f in wx/stc/stc.h; do \
RS>         if test ! -d /usr/local/include/wx-2.8/`dirname $f` ; then \
RS>         /usr/bin/install -c -d /usr/local/include/wx-2.8/`dirname $f`; \
RS>         fi; \
RS>         /usr/bin/install -c -m
RS> 644 ./../../include//$f /usr/local/include/wx-2.8/$f; \
RS>         done
RS> make[2]: Leaving directory `/home/ron/wxGTK-2.8.7/contrib/src/stc'
RS> <===><8===>
RS> As you can see, there is no call to make install_stcdll

 You won't see reference to install_stcdll in the make output but I do see
that it does install the libraries.

RS> nor any reference to a lib dir.

 Huh? What is /usr/local/lib just above?

RS> This is the Makefile in the contrib/src dir:
...
RS> I do not see how this can call make install_*dll.

 It doesn't, it calls make install and install target in Makefile depends
on install_stcdll. Nothing wrong with this.

RS> > RS> but that puts the V 2.8 stc libs in /usr/local/lib rather than /usr/lib,
RS> > 
RS> >  And I suppose you used --prefix=/usr when configuring?
RS> 
RS> Nope. Just ./configure.

 Well, why are you surprised that it installs in /usr/local then? If you
run configure --help you can clearly see that default prefix is /usr/local
(just as for just about any other Unix software package).

 I'm sorry but I have no idea what the problem is.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/




More information about the wx-users mailing list