pkg-config

View: New views
4 Messages — Rating Filter:   Alert me  

pkg-config

by Ishan Chattopadhyaya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I am installing anjuta from the trunk,

./autogen.sh
sudo make install

Then, I am doing

pkg-config --list-all

and still libanjuta-1 isn't in the list.
How to install the libanjuta-1.0.pc file during compiling/installing Anjuta?
Thanks,
Ishan

--
---------------------------------------------------------------
Ishan Chattopadhyaya
Email: ishan@...
Website: www.ishan.chattopadhyaya.com
---------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Anjuta-devel mailing list
Anjuta-devel@...
https://lists.sourceforge.net/lists/listinfo/anjuta-devel

Re: pkg-config

by Ishan Chattopadhyaya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just to add to this, if I am doing an installation from RPM, the
pkg-config gets the configuration for libanjuta.
How to get this to work with compiling from source?
Thanks

On Sun, Aug 2, 2009 at 3:36 PM, Ishan
Chattopadhyaya<ichattopadhyaya@...> wrote:

> Hi,
> I am installing anjuta from the trunk,
>
> ./autogen.sh
> sudo make install
>
> Then, I am doing
>
> pkg-config --list-all
>
> and still libanjuta-1 isn't in the list.
> How to install the libanjuta-1.0.pc file during compiling/installing Anjuta?
> Thanks,
> Ishan
>
> --
> ---------------------------------------------------------------
> Ishan Chattopadhyaya
> Email: ishan@...
> Website: www.ishan.chattopadhyaya.com
> ---------------------------------------------------------------
>



--
---------------------------------------------------------------
Ishan Chattopadhyaya
Email: ishan@...
Website: www.ishan.chattopadhyaya.com
---------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Anjuta-devel mailing list
Anjuta-devel@...
https://lists.sourceforge.net/lists/listinfo/anjuta-devel

Re: pkg-config

by Sébastien Granjoux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ishan,

Ishan Chattopadhyaya a écrit :
> Just to add to this, if I am doing an installation from RPM, the
> pkg-config gets the configuration for libanjuta.
> How to get this to work with compiling from source?

I think it's working but not installed in the same place.

When you install a RPM, the files are installed in /usr while it is in
/usr/local when you make install from a source tree.

It means that when you compile anjuta from source, the libanjuta-1.0.pc
file is in /usr/local/lib/pkgconfig.

Then pkgconfig does not look here by default.

One easy way to fix this, is to add the environment
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

Regards,

Sébastien

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Anjuta-devel mailing list
Anjuta-devel@...
https://lists.sourceforge.net/lists/listinfo/anjuta-devel

Re: pkg-config

by Ishan Chattopadhyaya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, that's what I just did :-) Its working now.

2009/8/2 Sébastien Granjoux <seb.sfo@...>:

> Hi Ishan,
>
> Ishan Chattopadhyaya a écrit :
>>
>> Just to add to this, if I am doing an installation from RPM, the
>> pkg-config gets the configuration for libanjuta.
>> How to get this to work with compiling from source?
>
> I think it's working but not installed in the same place.
>
> When you install a RPM, the files are installed in /usr while it is in
> /usr/local when you make install from a source tree.
>
> It means that when you compile anjuta from source, the libanjuta-1.0.pc file
> is in /usr/local/lib/pkgconfig.
>
> Then pkgconfig does not look here by default.
>
> One easy way to fix this, is to add the environment
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
>
> Regards,
>
> Sébastien
>



--
---------------------------------------------------------------
Ishan Chattopadhyaya
Email: ishan@...
Website: www.ishan.chattopadhyaya.com
---------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Anjuta-devel mailing list
Anjuta-devel@...
https://lists.sourceforge.net/lists/listinfo/anjuta-devel