codegooglecom / libproxy

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

build error on windows xp platform #148

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I tried following commands,
mkdir build
cd build
cmake ..

output is as follows:

-- Building with bundled libmodman
CMake Error at libmodman/CMakeLists.txt:18 (install):
  install Library TARGETS given no DESTINATION!

MODULES TO BUILD:
                config_envvar
                config_gnome
                config_kde4
                config_macosx
        *       config_w32reg
        *       ignore_domain
        *       ignore_hostname
        *       ignore_ip
                network_networkmanager
                pacrunner_mozjs
                pacrunner_webkit
        *       wpad_dns_alias

CMake Error at libproxy/cmake/libproxy.cmk:21 (install):
  install Library TARGETS given no DESTINATION!
Call Stack (most recent call first):
  libproxy/CMakeLists.txt:20 (include)

-- Could NOT find PythonInterp  (missing:  PYTHON_EXECUTABLE)
-- Could NOT find PerlLibs  (missing:  PERL_LIBRARY PERL_INCLUDE_PATH)
CMake Warning (dev) at CMakeLists.txt:50 (add_subdirectory):
  The source directory

    E:/Opensource/libproxy/libproxy-0.4.6/utils

  does not contain a CMakeLists.txt file.

  CMake does not support this case but it used to work accidentally and is
  being allowed for compatibility.

  Policy CMP0014 is not set: Input directories must have CMakeLists.txt.  Run
  "cmake --help-policy CMP0014" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

Original issue reported on code.google.com by everbox...@gmail.com on 2 Nov 2010 at 10:26

GoogleCodeExporter commented 9 years ago
Have a look in libproxy/cmake/paths.cmk, there is a bunch of installation path 
that you must set on windows platforms. Normally you need at least 
CMAKE_INSTALL_PREFIX. There is also documentation for building in INSTALL file.

Original comment by nicolas.dufresne@gmail.com on 7 Nov 2010 at 2:21

GoogleCodeExporter commented 9 years ago
Thanks for your reply.
I just need to generate visual studio project files with cmake. I have did it 
by removing some unnecessary options in all CMakeLists.txt files

Original comment by everbox...@gmail.com on 18 Nov 2010 at 5:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@everbox would you please explain, how you did it. I also want to generate 
visual studio project but I am experiencing the same problem you mentioned 
above. Any help would be greatly appreciated.

Original comment by ahasan....@gmail.com on 25 Feb 2011 at 7:41