Re: coupling again. was: Re: Qucs, Gnucap etc. Code

Richard Crozier <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On 01/04/17 15:28, Felix Salfelder wrote:
> On Sat, Apr 01, 2017 at 09:01:37AM +0100, Richard Crozier wrote:
>> Should I use this or build from some repository somewhere? Will any version
>> work with this plugin?
>
> i think the tarball from 2015 lacks "gnucap-conf" which is used in the
> plugin makefile. so, at least it will not work out-of-the-box.
>
> please build gnucap from git. the tagged versions (latest: 20160724) are
> considered stable snapshots. these are all in the master branch.
> gnucap-coupling should work with master. if it doesn't, let me know
> and/or try the unstable branch.
>
> cheers
> felix
>

I just built the snapshot, on configuring I got the following:

Configuring gnucap using --prefix=/usr/local
include
lib
/tmp/ccF64DAK.o: In function `main':
test_readline.cc:(.text+0xe): undefined reference to `readline'
test_readline.cc:(.text+0x1e): undefined reference to `add_history'
collect2: error: ld returned 1 exit status
either libtermcap or libreadline is missing - not using readline
modelgen
main
apps
don

I have readline installed. This is the same issue as described in the 
following post fron 2013:

https://lists.gnu.org/archive/html/gnucap-devel/2013-06/msg00002.html

and I was able to fix it in the same way as described there.

Regards,

Richard

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.