From: Wes F. <fre...@gm...> - 2013-10-16 17:59:11
|
Rather than attack the authors of the makefile, just submit a patch to improve it. This is open source software, I'm sure they would welcome improvements to make cross-platform builds better. I'm sure they'd be willing to return the money you paid for this source code, as well. :P And, in defense of the scid authors, getting autotools working (and making it truly cross-platform) is not a trivial exercise--I've read books on the subject, and only get things working after great pain. Wes On Wed, Oct 16, 2013 at 1:50 PM, Jai Dayal <day...@gm...> wrote: > SO you're saying that the configure script is not the standard GNU > autotools offering, but something created independently? > > Your makefile is completely inconsistent. > > For TCL_INCLUDE, you don't specify tcl.h > > for TCL_LIBRARY, you have to specify the .a/.so file. > > Wow. you all have *no idea* how to write a makefile > > Even after specifying the director of the tcl and tk LIBRARIES, I STILL > get compilation errors when trying to link to TCL. > > tkscid.cpp:(.text.startup+0x11): undefined reference to `Tcl_CreateInterp' > tkscid.cpp:(.text.startup+0x23): undefined reference to `Tk_MainEx' > etc etc etc > > > This is ridiculous. > > > On Wed, Oct 16, 2013 at 1:37 PM, fb...@li... <fb...@li...> wrote: > >> >> >>Do you people not know how to actually use autotools to avoid this from >> happening? Seriously, this isn't advanced stuff. >> >> >> I'm not sure i fully understand your question, actually scid do not use >> autotools. >> >> >> >> >>How do I fix this? >> >> the wrong part is "/usr/include/tcl8.5/tcl.h" >> manually edit the Makefile and change the line to >> TCL_INCLUDE = -I/usr/include/tcl8.5 >> >> >> >> >> >>g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 >> >> Actually i switched back to debian and i do not have an ubuntu distro at >> hand: >> can someone confirm that with ubuntu a simple "./configure && make" works >> fine? >> Thanks, >> Fulvio >> >> >> > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > _______________________________________________ > Scid-users mailing list > Sci...@li... > https://lists.sourceforge.net/lists/listinfo/scid-users > > |