gmediaserver-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gmediaserver-devel] Problem on FreeBSD


From: White FrosT
Subject: Re: [gmediaserver-devel] Problem on FreeBSD
Date: Tue, 05 Sep 2006 01:31:06 +0200
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

James,

That could have been the case, but helas.. it is not the solution. I deinstalled the /devel/upnp port again to make sure all traces were gone. Indeed.. no more libupnp.* files. Now I installed your libupnp port again and tried to recompile, but I get the same errors I started out with. Last lines of the configure output:
---
checking for UPNP... gnome-config: not found
no
checking upnp/upnp.h usability... yes
checking upnp/upnp.h presence... yes
checking for upnp/upnp.h... yes
checking for UpnpInit in -lupnp... no
./configure: line 20473: -lpthread: command not found
checking for upnp/upnp.h... (cached) yes
checking for UpnpInit in -lupnp... no
./configure: line 20473: -lpthread: command not found
configure: error: the upnp library is required to build and run this program
---

---
#pkg-config --libs libupnp
gnome-config: not found
Package libupnp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libupnp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libupnp' found
---

Cheers,
Olaf

James E. Flemer wrote:
By the way, the FreeBSD libupnp-1.2.1 port that I made does *NOT* install the package config file (libupnp.pc). For that matter it doesn't install a static library (libupnp.a) or the libtool junk (libupnp.la). So, Olaf, you might well have some mix of upnp libraries.

Oskar, which of these two upnp libraries do you develop with:
  (1) http://sourceforge.net/projects/upnp/
or
  (2) http://sourceforge.net/projects/pupnp/

I use version 1.2.1 of (1), and that is what the FreeBSD port I made is for. It looks like since I last worked on GMS, that (1) has forked and created (2).

-James



White FrosT wrote:
Hello Oskar,

The output is:
gnome-config: not found
Package libupnp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libupnp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libupnp' found

So again:
[] ~>locate libupnp
/usr/local/lib/libupnp.a
/usr/local/lib/libupnp.la
/usr/local/lib/libupnp.so
/usr/local/lib/libupnp.so.2
/usr/local/libdata/pkgconfig/libupnp.pc

The error is the same if I create the path variable with the appropriate directory:
[] ~>echo $PKG_CONFIG_PATH
/usr/local/libdata/pkgconfig/

Best Regards,
Olaf

Oskar Liljeblad wrote:
What does "pkg-config --libs libupnp" print?

Oskar

On Monday, September 04, 2006 at 17:42, White FrosT wrote:
It still doesn't work. As said in a previous mail, my libupnp is installed in /usr/local/lib:
#locate libupnp
/usr/local/lib/libupnp.a
/usr/local/lib/libupnp.la
/usr/local/lib/libupnp.so
/usr/local/lib/libupnp.so.2
/usr/local/libdata/pkgconfig/libupnp.pc

Maybe this has something to do with it?
./configure: line 20473: -lpthread: command not found

I tried --with-libupnp=/usr/local and --with-libupnp=/usr/local/lib

Thank you for your help!
Olaf

Oskar Liljeblad wrote:
On Monday, September 04, 2006 at 16:49, White FrosT wrote:
Hello Oskar,

I started from clean sources again, applied the patch. It seems to change some for the good, but second part doesn't fix the problem (I think). I attached the configure ouput again...
This time it can't find libupnp at all. Try
./configure --with-libupnp=/usr/local
or replace /usr/local to the (prefix) path where libupnp is installed.

Regards,

Oskar



_______________________________________________
GMediaServer-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gmediaserver-devel



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

_______________________________________________
GMediaServer-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gmediaserver-devel






reply via email to

[Prev in Thread] Current Thread [Next in Thread]