debian compilation errors pkg-config OPENSSL

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Locked
parweb
Posts: 3
Joined: Thu Feb 12, 2009 1:12 am

debian compilation errors pkg-config OPENSSL

Post by parweb »

hello everybody

im just download transmission-1.22 and i want compil it but when i run this

Code: Select all

./configure
at the end i see that

Code: Select all

checking for ranlib... (cached) ranlib
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for pkg-config... no
checking for OPENSSL... configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

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

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.
so how i can fix it ? :/

PS: im use debian
guilherme
Posts: 51
Joined: Thu Jan 22, 2009 6:04 pm

Re: debian compilation errors pkg-config OPENSSL

Post by guilherme »

If I remember correctly, I had to install libssl-dev (along with curl-dev, I think) in order to get it to compile...

Code: Select all

# apt-get install libssl-dev
Nevertheless, you should probably use a more recent version of Transmission (if it's viable). 1.42 is the current stable and 1.50 beta 4 the current beta =)
parweb
Posts: 3
Joined: Thu Feb 12, 2009 1:12 am

Re: debian compilation errors pkg-config OPENSSL

Post by parweb »

after

Code: Select all

apt-get install libssl-dev
i have the same errors :/
guilherme
Posts: 51
Joined: Thu Jan 22, 2009 6:04 pm

Re: debian compilation errors pkg-config OPENSSL

Post by guilherme »

Are you running etch, lenny or sid?
parweb
Posts: 3
Joined: Thu Feb 12, 2009 1:12 am

Re: debian compilation errors pkg-config OPENSSL

Post by parweb »

how can i do for know ?
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: debian compilation errors pkg-config OPENSSL

Post by Jordan »

This is fixed in the 1.50 betas. You might want to try them instead of 1.22.

Unless there's a last-minute holdup, 1.50 should be out in the next couple of days.
Locked