pspp-dev
[Top][All Lists]
Advanced

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

Re: Failure to build on Fedora 9


From: Matěj Cepl
Subject: Re: Failure to build on Fedora 9
Date: Mon, 19 May 2008 09:26:09 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080507)

Jason Stover napsal(a):
> src/language/liblanguage.a(sample.o): In function `gsl_rng_get':
> /usr/include/gsl/gsl_rng.h:161: multiple definition of `gsl_rng_get'
> 
> It looks like the compiler doesn't like the two declarations of the
> gsl functions. I'm not sure how this happens, because gsl_rng.h has
> a header guard in it to prevent this. But liblanguage.a and libpspp_math.a
> both rely on sources that include this file. Building them together doesn't
> show the problem. Did you build them separately and then try to link them?

You have complete record of everything I did in the log. I did nothing else.

> Anyway, this doesn't happen when building from source. Did you try
> building from source? If so, did that work?

??? Of course my package is building from the source. There are no
additional patches or sources in the package, if that's what you mean.

> The file pspp.spec states:
> 
> BuildRequires: plotutils-devel, gsl-devel, ncurses-devel, readline-devel, 
> gtk2-devel
> 
> Does this mean it uses "development" versions of these packages?
> If so, you might try using the release versions.

No, of course not -- that's -devel like "use for development", not
"development version"; most Linux distributions have separate packages
for  normal use (for libraries they contain usually the library itself
and documentation) and for development use (with header files, etc.).
Therefore, normal users install just basic packages and only if you need
to develop based on the package, you need to install -devel packages.

Thanks for any suggestions,

Matěj Cepl




reply via email to

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