Re: Working towards 0.95



On Thu, 9 Feb 2006, wen wrote:

Maybe you could compile the current cvs or a recent snapshot (i
understood that you did not yet)?

I've just checked out the source, but I need to generate the file
'configure'. what's the command? Or maybe someone can point to where
this is documented.
You need to run ./autogen.sh to generate the configure-file.

Yeah, I figured that out after some googling. Then I had to install
'intltool', and right now it's protesting that my 'glib'. I probably only 
have 2.0, whereas >= 2.6.0 is required. *sigh*.

I tried to get that in but couldn't get it to work, so I finally did the 
whole thing on a completely different system (Fedora Core 4 I think). Then 
I could get past ./configure. Instead I got this error when compiling:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../lib  -DXTHREADS 
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -DPREFIX=\""/usr/local"\" 
-DSYSCONFDIR=\""/usr/local/etc"\" -DDATADIR=\""/usr/local/share"\" 
-DLIBDIR=\""/usr/local/lib"\" -DLOCALEDIR=\"/usr/local/share/locale\"    
-I/usr/include/libxml2 -I/usr/include/freetype2 -g -O2  -Wall -Wunused 
--std=c89 -Wdeclaration-after-statement -Wmissing-prototypes 
-Wmissing-declarations -finline-functions -fstrict-aliasing -MT 
render_libart.o -MD -MP -MF ".deps/render_libart.Tpo" -c -o 
render_libart.o render_libart.c; \
then mv -f ".deps/render_libart.Tpo" ".deps/render_libart.Po"; else rm -f 
".deps/render_libart.Tpo"; exit 1; fi
In file included from render_libart.c:29:
../lib/dialibartrenderer.h:10:35: error: libart_lgpl/art_vpath.h: No such 
file or directory
../lib/dialibartrenderer.h:11:40: error: libart_lgpl/art_vpath_dash.h: No 
such file or directory
../lib/dialibartrenderer.h:12:33: error: libart_lgpl/art_svp.h: No such 
file or directory
../lib/dialibartrenderer.h:13:46: error: 
libart_lgpl/art_svp_vpath_stroke.h: No such file or directory
In file included from render_libart.c:29:
../lib/dialibartrenderer.h:40: error: syntax error before 
âArtPathStrokeCapTypeâ../lib/dialibartrenderer.h:40: warning: no semicolon 
at end of struct or union


Any ideas?

/Christian

PS. I wrote down my compilation steps here:
        http://pmwiki.org/wiki/Dia/CompilingForLinuxFromCVS


-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr






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