[Kst] kst2 compilation under linux with headers in non-standard location

Peter Kümmel syntheticpp at gmx.net
Thu Aug 26 09:31:16 CEST 2010

Brisset, Nicolas wrote:
>> On linux pkg ist used, but I dont know if it
>> is enough to call 'make install' to make it work.
> I suppose you mean pkg-config? When I run "pkg-config --libs netcdf" it
> finds the right path, and "pkg-config --cflags netcdf" gives the right
> include path. And netcdf is detected and activated for the build, so
> somehow it works. It just seems to be that those paths are not passed
> correctly to the Makefile somehow.

Then it should work with pkg-config. I also compared it with getdata
and found no differences. I will also have a look at it.


>> Have you tried to install the netcdf packages provided
>> for your distribution? For instance
>> https://launchpad.net/ubuntu/+source/netcdf
> No option, I'm not root at work :-)
>> You could also try to patch netcdf.pro file in
>> kst/src/datasources/netcdf.
> So that's what I finally did, and it does work but it's a little
> unclean.
> I can live with it, but if we find why the flags don't get passed by
> qmake correctly to the Makefile it would be nicer. Or we just let it be
> and switch to cmake, as that's in the short term plans anyway, isn't it?
> Thanks for the answers,
> Nicolas
> Eurocopter Deutschland GmbH
> Sitz der Gesellschaft/Registered Office: Donauwoerth
> Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
> Geschaeftsfuehrung/Board of Management:
> Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
> This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. 
> If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. 
> It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message. 
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

More information about the Kst mailing list