Author Topic: [SOLVED] LibRaw not getting picked up in a build inspite of being present  (Read 226 times)

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
I am trying to build Evas_generic_loaders which are a part of E17.
An optional requirement is LibRaw support which is enabled by default but inspite of LibRaw and LibRaw-devel being present, it is not getting picked up during the build because log shows this line :
Code: [Select]
checking for EINA... yes
checking for POPPLER... yes
checking for SPECTRE... yes
checking for LIBRAW... no
checking for SVG... yes
checking for GSTREAMER... yes

According to ./configure --help it is an option that is enabled by default.

SPEC - http://dl.dropbox.com/u/37931428/E17/03-slingshot-evas_generic_loaders-1.spec
LOG - http://dl.dropbox.com/u/37931428/E17/03-slingshot-evas_generic_loaders-1.spec.log
SRPM - http://dl.dropbox.com/u/37931428/E17/evas_generic_loaders-20130104-1slingshot2013.src.rpm
« Last Edit: February 10, 2013, 03:49:19 AM by sling-shot »
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: LibRaw not getting picked up in a build inspite of being present
« Reply #1 on: February 07, 2013, 10:29:12 AM »
I am trying to build Evas_generic_loaders which are a part of E17.
An optional requirement is LibRaw support which is enabled by default but inspite of LibRaw and LibRaw-devel being present, it is not getting picked up during the build because log shows this line :

It appears that LibRaw-devel is not storing it's pkg-config file in the right place so the configure process can't find it  :(

It is storing it in /usr/include/pkconfig whereas PCLOS uses /usr/lib/pkgconfig.
Until this is changed/corrected  you could try adding the following before the %configure2_5x:

Code: [Select]
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%{_includedir}/pkgconfig
Terry.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: LibRaw not getting picked up in a build inspite of being present
« Reply #2 on: February 07, 2013, 11:16:50 AM »
Thanks Terry. I will try that and report back tomorrow or a bit later.

--------------

May be a similar problem is affecting libicu too. While building another package (I think it is HarfBuzz, not sure at the moment) that too did not get picked up. Just like this.
--------------
Yes. It is in HarfBuzz. This other thread :
http://www.pclinuxos.com/forum/index.php/topic,112885.0.html
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: LibRaw not getting picked up in a build inspite of being present
« Reply #3 on: February 09, 2013, 08:46:45 AM »
It appears that LibRaw-devel is not storing it's pkg-config file in the right place so the configure process can't find it  :(

It is storing it in /usr/include/pkconfig whereas PCLOS uses /usr/lib/pkgconfig.
Until this is changed/corrected  you could try adding the following before the %configure2_5x:

Code: [Select]
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%{_includedir}/pkgconfig
Terry.

That fixed it and now LIBRAW is getting picked up :)
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6