binarycrusader / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

pkgconfig file is not installed #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.get libproxy 0.4.0
2.apply the patch from issue 87
3. run cmake with a build/ directory
4. run make and make install

What is the expected output? What do you see instead?
CMake Error at libproxy/cmake_install.cmake:72 (FILE):
  file INSTALL cannot find
  "/home/goetz/svn/libproxy/BUILD/libproxy-0.4.0/libproxy/libproxy-1.0.pc".
Call Stack (most recent call first):
  cmake_install.cmake:38 (INCLUDE)

What version of the product are you using? On what operating system?
libproxy 0.4.0 on Mandriva Cooker

Please provide any additional information below.

Here are the exact commands:
$ mkdir -p build
$ cd build
$ /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
-DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64
-DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64
-DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share
-DCMAKE_BUILD_TYPE=release -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF
'-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed  -Wl,-z,relro -Wl,-O1'
$ make -j2
$ make
DESTDIR=/home/goetz/svn/libproxy/BUILDROOT/libproxy-0.4.0-1mdv2010.1.x86_64
install

Original issue reported on code.google.com by Goetz.Wa...@gmail.com on 9 Mar 2010 at 3:00

GoogleCodeExporter commented 9 years ago
Same error with an unpatched svn trunk r611.

Original comment by Goetz.Wa...@gmail.com on 9 Mar 2010 at 3:11

GoogleCodeExporter commented 9 years ago
CAn you please give it a try with not-out-of-source tree building? I have to 
admit I
never tested it and would not be too surprised if this is the issue.

In case this works, I believe to also know where I have to fix it. 

Looking forward for your test results

Original comment by dominiqu...@gmail.com on 11 Mar 2010 at 7:08

GoogleCodeExporter commented 9 years ago
Yes, with an in-tree build, the pkgconfig file is installed.

Original comment by Goetz.Wa...@gmail.com on 11 Mar 2010 at 8:05

GoogleCodeExporter commented 9 years ago
Thanks... that confirms what I though. I'll have a look to get this fixed in 
the next
hours.

Original comment by dominiqu...@gmail.com on 11 Mar 2010 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by dominiqu...@gmail.com on 11 Mar 2010 at 8:21

GoogleCodeExporter commented 9 years ago
Can you please give the attached patch a try? In my tests here it now works with
out-of-tree build / install, but having it confirmed from your side before I 
commit
is certainly not wrong.

Thanks for your efforts.

Original comment by dominiqu...@gmail.com on 11 Mar 2010 at 9:55

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, your patch works for me, thank you.

Original comment by Goetz.Wa...@gmail.com on 11 Mar 2010 at 10:08

GoogleCodeExporter commented 9 years ago
commited as r614

Original comment by dominiqu...@gmail.com on 11 Mar 2010 at 10:57

GoogleCodeExporter commented 9 years ago
The patch in comment #6 doesn't appear to work against the most recent 0.4.0 
code;
the "#CMake Find helper" section of libproxy/CMakeLists.txt that it's trying to 
patch
isn't present.  Even after manually applying the changes in the "# PkgConfig 
file"
section, it still didn't generate/install the libproxy-1.0.pc file.

Original comment by joshua.d...@travelocity.com on 15 Apr 2010 at 8:09

GoogleCodeExporter commented 9 years ago
Please test with trunk version. This has been fixed in svn revision 614 (see 
comment 
8)

Original comment by dominiqu...@gmail.com on 20 Apr 2010 at 7:20