[libksd-devel] RE: scons problem/Compile from cvs?
Status: Beta
Brought to you by:
xevol
|
From: David S. <xe...@ne...> - 2003-05-27 20:40:44
|
First, I would like to apoligize for the terribly late response. Either SourceForge changed the way their mailing lists work or I got magically un-subscribed from the list. I am currently going back and making copy/paste response to the e-mails I missed. > I have found out that I need pkg-config for libsigc, and scons > for configuring/compiling libksd(CVS). Unfortunately, scons > only processes the src/ directory and I can't seem to find a > way to create ksd_gui, which is what I want. I wonder whether > you have a solution for this. The libksd_gui build is being depreciated from the core, but the build scripts for it DO exist. Here is the command: $ scons src/gui Either that, or build the widget demo which will automatically cause the build of libksd_gui since it depends on it: $ scons demo/widget You need to use the latest scons (version 0.14) for integrated configure support. The pkg-config thing is a temporary problem. I plan implement a pure Python parser for pkg-config so that we can enjoy better portability. For example, I have never gotten pkg-config to compile under Windows. > You also might want to add a section to the README in the CVS > sources. Something like Compiling from CVS, in which pointers > to pkg-config and scons are given. It is not obvious from > libsigc it uses pkg-config, and pkg-config is not installed > everywhere. The same holds for scons. This is something I am planning to do as soon as the build system stabilizes. Moving from GNU automake, autoconf, libtool requires that I reimplement a lot of that functionality. I spent many monthes writting the basis for the autoconf replacement code which has now been integrated into the mainstream SCons. > I really hope you can tell me how to compile the CVS version, > as I cannot really do very much without a working dialog. Here are some simple commands to get you started: # cleans (ie. "make clean") scons -c # builds distribution scons dist (ie. "make dist") # builds the demos scons demos SCons has a really useful feature that if you give a directory as a target on the command line, it will build all the targets under that directory. For example, to build just libksd and libksd_gui, you could do: $ scons src I hope this helps! -- David Snopek |