Re: [Anjuta-list] building anjuta on slack 9.1 - configuration mismanagement with libiconv , help?



I got this problem also, every time I want to compile anjuta, I need to
modify the Makefile's on scintilla/ and src/ to add the -liconv on
LDFLAGS.

I do this because I don't know nothing about automake/autoconf.

Maybe someone can fix this for us :)

Also, anjuta needs automake-1.4 and aclocal-1.4. My versions are 1.7. I
did a symlink (/usr/bin/automake-1.4 -> /usr/bin/automake-1.7; same to
aclocal) and I could run autogen.sh after that. Is this an anjuta
requiriment to have the 1.4 version of those tools? Is the 1.4
incompatible with 1.7? Why do not upgrade scripts to 1.7 if they are not
compatible?

JP.

Em Ter, 2004-01-13 às 17:20, thomas.schorpp escreveu:
> Nuno Marques wrote:
> > why don't you use swaret to install anjuta, is a lot easier 
> > (www.swaret.org)
> 
> i have been through that on linuxquestions.org, some has made a package 
> i used, it seems not to be available and rejected from linuxpackages.net 
> due to libiconv(?)
> 
> i got a package but i want it from source to fix some bugs and deliver 
> patches ;)
> 
> ill try adding the missing linker parameter for libiconv in the 
> respective makefile...
> 
> other idea?
> 
> y
> tom
> 
> > 
> > did you run ldconfig after instaling libiconv?
> > 
> > thomas.schorpp wrote:
> > 
> >> hi,
> >>
> >> first i tried to build and install from source tar.gz.
> >> make install failed on installing some doc file.
> >>
> >> i got an unoff. slackpack then, anjuta ran fine, except the stalling 
> >> debugger.
> >>
> >> this occurs at building the source tar.gz after 
> >> installing/uninstalling an unofficial slackware anjuta 120 package.
> >>
> >> linker cant reference to libiconv, but its there.
> >> i can also not see a linker parm for libiconv.
> >>
> >> what is messed up here?
> >>
> >>
> >> Making all in scintilla
> >> make[2]: Entering directory `/usr/local/src/anjuta-1.2.0/scintilla'
> >> Making all in include
> >> make[3]: Entering directory 
> >> `/usr/local/src/anjuta-1.2.0/scintilla/include'
> >> make[3]: Nothing to be done for `all'.
> >> make[3]: Leaving directory 
> >> `/usr/local/src/anjuta-1.2.0/scintilla/include'
> >> make[3]: Entering directory `/usr/local/src/anjuta-1.2.0/scintilla'
> >> /bin/sh ../libtool --mode=link g++ -DGTK -DSCI_LEXER -DUSE_XIM -g -O2 
> >> -o test-scintilla  test-scintilla.o -Wl,--export-dynamic -pthread 
> >> -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lgnomeprintui-2-2 
> >> -lgnomeprint-2-2 -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt 
> >> -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 
> >> -lbonobo-activation -lORBit-2 -lgthread-2.0 -lvte -lncurses -lSM -lICE 
> >> -lX11 -lXft -lfreetype -lXrender -lgtk-x11-2.0 -lfontconfig 
> >> -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 
> >> -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
> >> -lglib-2.0   ../scintilla/libscintilla.a
> >> g++ -DGTK -DSCI_LEXER -DUSE_XIM -g -O2 -o test-scintilla 
> >> test-scintilla.o -Wl,--export-dynamic -pthread  -L/usr/X11R6/lib 
> >> /usr/lib/libglade-2.0.so /usr/lib/libgnomeui-2.so -L/usr/lib -ljpeg 
> >> /usr/lib/libgnomeprintui-2-2.so /usr/lib/libgnomeprint-2-2.so 
> >> /usr/lib/libbonoboui-2.so /usr/lib/libgnomecanvas-2.so 
> >> /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so 
> >> /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so 
> >> /usr/lib/libpangoft2-1.0.so /usr/lib/libbonobo-2.so 
> >> /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so -lssl -lcrypto -lrt 
> >> /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so 
> >> /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgthread-2.0.so 
> >> /usr/lib/libvte.so -lncurses -lSM -lICE -lX11 -lXft -lXrender 
> >> /usr/lib/libgtk-x11-2.0.so /usr/X11R6/lib/libfontconfig.so 
> >> /usr/lib/libfreetype.so /usr/lib/libexpat.so 
> >> /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so 
> >> /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so 
> >> /usr/lib/libpangox-1.0.so /usr/lib/libxml2.so -lpthread -lz -lm 
> >> /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so 
> >> /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so 
> >> ../scintilla/libscintilla.a -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath 
> >> -Wl,/usr/X11R6/lib
> >> ../scintilla/libscintilla.a(ScintillaGTK.o)(.text+0x1d58): In function 
> >> `ScintillaGTK::KeyDefault(int, int)':
> >> /usr/local/src/anjuta-1.2.0/scintilla/ScintillaGTK.cxx:989: undefined 
> >> reference to `libiconv_open'
> >> ../scintilla/libscintilla.a(ScintillaGTK.o)(.text+0x1d97):/usr/local/src/anjuta-1.2.0/scintilla/ScintillaGTK.cxx:996: 
> >> undefined reference to `libiconv'
> >> ../scintilla/libscintilla.a(ScintillaGTK.o)(.text+0x1db7):/usr/local/src/anjuta-1.2.0/scintilla/ScintillaGTK.cxx:997: 
> >> undefined reference to `libiconv_close'
> >> ../scintilla/libscintilla.a(ScintillaGTK.o)(.text+0x23ee): In function 
> >> `ConvertText':
> >> /usr/local/src/anjuta-1.2.0/scintilla/ScintillaGTK.cxx:1127: undefined 
> >> reference to `libiconv_open'
> >> ../scintilla/libscintilla.a(ScintillaGTK.o)(.text+0x242c):/usr/local/src/anjuta-1.2.0/scintilla/ScintillaGTK.cxx:1134: 
> >> undefined reference to `libiconv'
> >> ../scintilla/libscintilla.a(ScintillaGTK.o)(.text+0x2459):/usr/local/src/anjuta-1.2.0/scintilla/ScintillaGTK.cxx:1144: 
> >> undefined reference to `libiconv_close'
> >> ../scintilla/libscintilla.a(PlatGTK.o)(.text+0x156d): In function 
> >> `SurfaceImpl::SetIconv(int)':
> >> /usr/local/src/anjuta-1.2.0/scintilla/PlatGTK.cxx:779: undefined 
> >> reference to `libiconv_close'
> >> ../scintilla/libscintilla.a(PlatGTK.o)(.text+0x15aa):/usr/local/src/anjuta-1.2.0/scintilla/PlatGTK.cxx:784: 
> >> undefined reference to `libiconv_open'
> >> ../scintilla/libscintilla.a(PlatGTK.o)(.text+0x1772): In function 
> >> `SurfaceImpl::Release()':
> >> /usr/local/src/anjuta-1.2.0/scintilla/PlatGTK.cxx:821: undefined 
> >> reference to `libiconv_close'
> >> ../scintilla/libscintilla.a(PlatGTK.o)(.text+0x20be): In function 
> >> `UTF8FromIconv':
> >> /usr/local/src/anjuta-1.2.0/scintilla/PlatGTK.cxx:1049: undefined 
> >> reference to `libiconv'
> >> ../scintilla/libscintilla.a(PlatGTK.o)(.text+0x2147): In function 
> >> `MultiByteLenFromIconv':
> >> /usr/local/src/anjuta-1.2.0/scintilla/PlatGTK.cxx:1066: undefined 
> >> reference to `libiconv'
> >> ../scintilla/libscintilla.a(PlatGTK.o)(.text+0x2aae): In function 
> >> `SurfaceImpl::MeasureWidths(Font&, char const*, int, int*)':
> >> /usr/local/src/anjuta-1.2.0/scintilla/PlatGTK.cxx:1288: undefined 
> >> reference to `libiconv_open'
> >> ../scintilla/libscintilla.a(PlatGTK.o)(.text+0x2c3c):/usr/local/src/anjuta-1.2.0/scintilla/PlatGTK.cxx:1310: 
> >> undefined reference to `libiconv_close'
> >> ../scintilla/libscintilla.a(PlatGTK.o)(.text+0x4b66): In function 
> >> `Platform::DBCSCharLength(int, char const*)':
> >> /usr/local/src/anjuta-1.2.0/scintilla/PlatGTK.cxx:2410: undefined 
> >> reference to `libiconv_open'
> >> ../scintilla/libscintilla.a(PlatGTK.o)(.text+0x4b85):/usr/local/src/anjuta-1.2.0/scintilla/PlatGTK.cxx:2413: 
> >> undefined reference to `libiconv_close'
> >> collect2: ld returned 1 exit status
> >> make[3]: *** [test-scintilla] Error 1
> >> make[3]: Leaving directory `/usr/local/src/anjuta-1.2.0/scintilla'
> >> make[2]: *** [all-recursive] Error 1
> >> make[2]: Leaving directory `/usr/local/src/anjuta-1.2.0/scintilla'
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory `/usr/local/src/anjuta-1.2.0'
> >> make: *** [all-recursive-am] Error 2
> >> sh-2.05b#
> >>
> >>
> >> libiconv-1.9.1, anjuta doesnt build anymore.
> >>
> >> y
> >> tom
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.net email is sponsored by: Perforce Software.
> >> Perforce is the Fast Software Configuration Management System offering
> >> advanced branching capabilities and atomic changes on 50+ platforms.
> >> Free Eval! http://www.perforce.com/perforce/loadprog.html
> >> _______________________________________________
> >> Anjuta-list mailing list
> >> Anjuta-list lists sourceforge net
> >> https://lists.sourceforge.net/lists/listinfo/anjuta-list
> >>
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Perforce Software.
> > Perforce is the Fast Software Configuration Management System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.
> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > _______________________________________________
> > Anjuta-list mailing list
> > Anjuta-list lists sourceforge net
> > https://lists.sourceforge.net/lists/listinfo/anjuta-list
> > 
> > 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> Anjuta-list mailing list
> Anjuta-list lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/anjuta-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]