Bug #151

avatar

configure should check for nini.pc

Added by Mirco Bauer 5557 days ago. Updated 5421 days ago.

Status:Closed Start:
Priority:Urgent Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Other
Target version:0.6.4
Complexity:

Found in Version:

Votes: 0

Description

configure.ac only checks for nini-1.1.pc but not nini.pc, so on non-debian based distros the configure check will not find the installed nini.

Associated revisions

Revision a1aa86d1eb64eba79e0b7cfe5601e833261b6eb9
Added by Mirco Bauer 5463 days ago

Check for nini-1.1.pc and fallback to nini.pc. (Closes: #151)

History

Updated by Mirco Bauer 5557 days ago

avatar
E.g. it fails on gentoo:
checking for NINI... configure: error: Package requirements (nini-1.1) were not met:

No package 'nini-1.1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables NINI_CFLAGS
and NINI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

// GAC INFO

dotxp@hartes-php ~/download/smuxi-0.6.3 $ gacutil -l|grep -i nini
Nini, Version=1.1.0.0, Culture=neutral, PublicKeyToken=c9892194e1b9ec1b

// PACKAGE INFO

dotxp@hartes-php ~/download/smuxi-0.6.3 $ eix nini
[I] dev-dotnet/nini
     Available versions:  (~)1.1.0-r1 {debug}
     Installed versions:  1.1.0-r1(08:49:49 PM 01/07/2009)(-debug)
     Homepage:            http://nini.sourceforge.net
     Description:         Nini - A configuration library for .NET

Updated by Mirco Bauer 5557 days ago

avatar
The workaround for now is to create a symlink from nini-1.1.pc to nini.pc, e.g.:
cd /usr/lib/pkg-config; ln -s nini.pc nini-1.1.pc

Updated by Mirco Bauer 5463 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Updated by Mirco Bauer 5421 days ago

avatar
  • Target version changed from 0.8 to 0.6.4

Also available in: Atom PDF