pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47868 (www/libproxy does not compile on Solaris 10)
The following reply was made to PR pkg/47868; it has been noted by GNATS.
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Thomas Klausner <wiz%NetBSD.org@localhost>,
pkg-manager%NetBSD.org@localhost,
gnats-admin%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/47868 (www/libproxy does not compile on Solaris 10)
Date: Fri, 31 May 2013 12:56:26 +0200
On 31.05.13 12:05, Thomas Klausner wrote:
> Please try the attached diff.
That did it. Thanks a lot!
> Please also open upstream bug reports for both issues, so these don't
> stay pkgsrc workarounds.
As I said, when compiling this package outside of pkgsrc, I see a
completely different situation. Compilation fails here:
[ 78%] Building CXX object
libproxy/CMakeFiles/config_gnome3.dir/modules/config_gnome3.cpp.o
/pkgsrc/source/local/libproxy-0.4.11/libproxy/modules/config_gnome3.cpp:
In member function 'virtual std::vector<libproxy::url>
gnome_config_extension::get_config(const libproxy::url&)':
/pkgsrc/source/local/libproxy-0.4.11/libproxy/modules/config_gnome3.cpp:188:3:
error: 'memset' was not declared in this scope
*** Error code 1
The following command caused the error:
cd /pkgsrc/source/local/libproxy-0.4.11/build/libproxy &&
/usr/local/gcc/gcc-4.7.3/bin/c++ -D_POSIX_C_SOURCE=200112L
-Dconfig_gnome3_EXPORTS -DLIBEXECDIR=\"/usr/local/libexec\"
-fvisibility=hidden -g -DNDEBUG -fPIC
-I/pkgsrc/source/local/libproxy-0.4.11
-I/usr/pkgsrc/20130422/include/glib/glib-2.0
-I/usr/pkgsrc/20130422/lib/glib-2.0/include
-I/usr/pkgsrc/20130422/include -o
CMakeFiles/config_gnome3.dir/modules/config_gnome3.cpp.o -c
/pkgsrc/source/local/libproxy-0.4.11/libproxy/modules/config_gnome3.cpp
make: Fatal error: Command failed for target
`libproxy/CMakeFiles/config_gnome3.dir/modules/config_gnome3.cpp.o'
Current working directory /pkgsrc/source/local/libproxy-0.4.11/build
*** Error code 1
The following command caused the error:
make -f libproxy/CMakeFiles/config_gnome3.dir/build.make
libproxy/CMakeFiles/config_gnome3.dir/build
make: Fatal error: Command failed for target
`libproxy/CMakeFiles/config_gnome3.dir/all'
Current working directory /pkgsrc/source/local/libproxy-0.4.11/build
*** Error code 1
The following command caused the error:
make -f CMakeFiles/Makefile2 all
make: Fatal error: Command failed for target `all'
which is not a problem in pkgsrc. OTOH the part needing "-lsocket -lnsl"
compiles just fine, although these libraries are not mentioned in
CMakeCache.txt either, which would probably cause problems if the build
would succeed.
CMake and libproxy are just a tad to convoluted for my taste to dig any
deeper into this...
I only need this package, because it is a requirement for
net/glib-networking. Make libproxy optional there, and I have no need to
install libproxy.
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index