[Top][All Lists]

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

Re: [Help-gnucap] gnucap development snapshot 2013-04-23

From: Felix Salfelder
Subject: Re: [Help-gnucap] gnucap development snapshot 2013-04-23
Date: Fri, 26 Apr 2013 05:49:48 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi Al.

On Thu, Apr 25, 2013 at 08:03:20PM -0400, al davis wrote:
> On Thursday 25 April 2013, Felix Salfelder wrote:
> > > Installation (still "make install") installs the parts as
> > > expected. It also installs the header files in
> > > $PREFIX/include/gnucap, to build plugins.
> > 
> > didn't work for me.
> What didn't work?

g++ -DUNIX -O2 -DNDEBUG -I. -I../include -I../../include -W mg_main.o 
mg_error.o mg_in.o mg_out_h.o mg_out_dump.o mg_out_common.o mg_out_dev.o 
mg_out_lib.o mg_out_model.o mg_out_root.o -o gnucap-modelgen -lgnucap  
-rdynamic -L../../lib/O
../../lib/O/ undefined reference to `dlerror'
../../lib/O/ undefined reference to `dlopen'
../../lib/O/ undefined reference to `dlclose'
collect2: error: ld returned 1 exit status
make[2]: *** [gnucap-modelgen] Error 1
make[2]: Leaving directory `/tmp/gnucap-2013-04-23/modelgen/O'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/gnucap-2013-04-23/modelgen'
make: *** [gnucap] Error 2

i could have figured that out. but i need the autotools switch anyhow.

> > > Although it does not use autoconf, the configure/make
> > > procedure is the same as it would be with autoconf.
> > 
> > i have (quickly) ported the old .36 autoconf system to the
> > new snapshot. don't expect it to work better than yours, but
> > it works for me and is extensible [1]. its based on the git
> > repo used for debian-packaging, here all the other tarballs
> > are imported as well.
> That looks like the old 2009 version.

its pretty similar. but the src/Makefile is split into 4 and it installs
a shared lib and a plugin. it's just a draft. for example it might fail
in some cases where $builddir!=$srcdir. it also lacks -DUNIX...

it's in the "build" branch. when you do a 'git clone' you mostly get a random
branch. try "git checkout <branchname>" or pass "--branch <branchname>" to

"gitk --all" is your friend.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]