*****SPAM***** Re[2]: Q: How to install contrib libs
Ron Savage
ron at savage.net.au
Tue Jan 22 16:39:42 PST 2008
On Wed, 2008-01-23 at 01:13 +0100, Vadim Zeitlin wrote:
Hi Vadim
> On Wed, 23 Jan 2008 10:42:43 +1100 Ron Savage <ron at savage.net.au> wrote:
>
> RS> > RS> What's the magic command I need to install them?
> RS> >
> RS> > I think it's just "cd contrib && make install".
> RS>
> RS> No. As I said in my original email, that doesn't work.
>
> Sorry, I didn't notice that you tried. How exactly didn't it work?
Well, make install just installs into /usr/include, as echoed on screen:
<===><8===>
make[2]: Entering directory `/home/ron/wxGTK-2.8.7/contrib/src/stc'
/usr/bin/install -c -d /usr/local/lib
/usr/bin/install -c -m
644 /home/ron/wxGTK-2.8.7/lib/libwx_gtk2_stc-2.8.so /usr/local/lib
/usr/bin/install
-c /home/ron/wxGTK-2.8.7/lib/libwx_gtk2_stc-2.8.so.0.4.0 /usr/local/lib
(cd /usr/local/lib ; rm -f libwx_gtk2_stc-2.8.so
libwx_gtk2_stc-2.8.so.0; ln -s libwx_gtk2_stc-2.8.so.0.4.0
libwx_gtk2_stc-2.8.so.0; ln -s libwx_gtk2_stc-2.8.so.0
libwx_gtk2_stc-2.8.so)
/usr/bin/install -c -d /usr/local/include/wx-2.8
for f in wx/stc/stc.h; do \
if test ! -d /usr/local/include/wx-2.8/`dirname $f` ; then \
/usr/bin/install -c -d /usr/local/include/wx-2.8/`dirname $f`; \
fi; \
/usr/bin/install -c -m
644 ./../../include//$f /usr/local/include/wx-2.8/$f; \
done
make[2]: Leaving directory `/home/ron/wxGTK-2.8.7/contrib/src/stc'
<===><8===>
As you can see, there is no call to make install_stcdll nor any
reference to a lib dir.
> RS> Examining the Makefile in contrib/src/stc, I see I can do:
> RS>
> RS> cd contrib/src/stc
> RS> sudo make install_stcdll
>
> This is supposed to be one (of many) things done by "make install" (look
> at contrib/Makefile and contrib/src/Makefile).
This is the Makefile in the contrib/src dir:
<===><8===>
# $Id: Makefile.in 42385 2006-10-25 06:51:10Z RD $
CONTRIB_SUBDIRS=fl gizmos mmedia ogl plot stc svg #deprecated #applet
all:
@for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE)); done
clean:
@for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE) clean); done
install:
@for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE) install); done
uninstall:
@for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE) uninstall); done
.PHONY: all clean install uninstall
<===><8===>
I do not see how this can call make install_*dll.
> RS> but that puts the V 2.8 stc libs in /usr/local/lib rather than /usr/lib,
>
> And I suppose you used --prefix=/usr when configuring?
Nope. Just ./configure.
> RS> which is where the pre-existing ones (v 2.6) are.
>
> Well, maybe there were configured with different prefix.
>
> RS> But also, that suggets I have to manually run that specialized install
> RS> in each contrib dir. Sigh.
>
> You're not supposed to but it's hard to say what's wrong without knowing
> more details.
Interesting.
I do appreciate your comments, and Robin's too.
--
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html
More information about the wx-users
mailing list