[pgrouting-users] sew-devel-2_0 build problems

Dave Potts dave.potts at pinan.co.uk
Sat May 25 10:48:01 PDT 2013


On 25/05/13 18:33, Stephen Woodbridge wrote:
Hi Steve,

Thanks for the prompt help,  in the end I hacked the makefile and did a 
normal make and compile a version.

I did try your build instructions
ie tools/doit  and got an error about    (missing: SPHINX_EXECUTABLE)

I am using cmake version 2.8.11

Dave.

----------------------------------------------------------------------------------
  tools/doit
-- UNIX=1
-- WIN32=
-- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/9.1/bin/postgres
-- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config
-- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/9.1/server
-- POSTGRESQL_LIBRARIES: /usr/lib
-- Boost version: 1.48.0
Boost headers were found here: /usr/include
-- POSTGRESQL_VERSION_STRING is PostgreSQL 9.1.9
-- POSTGRESQL_VERSION is 9.1.9
-- Install directory for libraries is set to /usr/lib/postgresql/9.1/lib
-- Install directory for SQL files is set to 
/usr/share/postgresql/9.1/extension
CMake Error at 
/usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 
(message):
   DEFAULT_MSG

    (missing:  SPHINX_EXECUTABLE)
Call Stack (most recent call first):
/usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 
(_FPHSA_FAILURE_MESSAGE)
   cmake/FindSphinx.cmake:16 (find_package_handle_standard_args)
   doc/CMakeLists.txt:14 (find_package)


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.


> Sorry, Daniel posted the URL for those that have write privledges to 
> the the repository. You can use the public one
>
> git://github.com/pgRouting/pgrouting.git
>
> or you can fork the repository if you have your won github account and 
> make changes there and generate pull requests for us to pull your 
> changes into the master respository.
>
> https://github.com/pgRouting/pgrouting/tree/sew-devel-2_0
>
> Notice the HTTP, SSH, Git Reead-Only buttons, by clicking on them you 
> can see the different URLS that can be used.
>
> git clone git://github.com/pgRouting/pgrouting.git
> git checkout sew-devel-2_0
> tools/doit
> (cd build; sudo make install)
> tools/test-runner.pl
>
> is the standard way I build and test on Linux.
>
> -Steve
>
> On 5/25/2013 1:01 PM, Dave Potts wrote:
>> On 25/05/13 14:21, Stephen Woodbridge wrote:
>> hi
>>
>> I tried Daniel suggestion ie
>> git clone git at github.com:pgRouting/pgrouting.git
>>
>> and got
>> Cloning into 'pgrouting'...
>> Permission denied (publickey).
>> fatal: The remote end hung up unexpectedly
>>
>> not the error I was expecting :-(
>>
>> D.
>>
>>
>>
>>
>>> Hi Dave,
>>>
>>> We don't test in the tarball environment. May be you can figure out
>>> the cmake stuff there. What is supposed to happen,
>>>
>>> check if git exists or not (non fatal)
>>> if git exists then
>>>   if git repository get git hash
>>>   else report non fatal message
>>> else
>>>   report non-fatal message
>>>
>>> This is all done in this block:
>>>
>>> # Find Git to collect version information
>>> find_package(Git QUIET)
>>> if(GIT_FOUND)
>>>   message(STATUS "Found Git: ${GIT_EXECUTABLE}")
>>>   GIT_WC_INFO(${PGROUTING_SOURCE_DIR} PGROUTING)
>>>   set(PGROUTING_VERSION_REVISION_NAME "${PGROUTING_WC_REVISION_NAME}")
>>>   set(PGROUTING_VERSION_REVISION_HASH "${PGROUTING_WC_REVISION_HASH}")
>>> else()
>>>   message(STATUS "Could NOT find GIT (optional)")
>>>   set(PGROUTING_VERSION_REVISION_NAME "")
>>>   set(PGROUTING_VERSION_REVISION_HASH "")
>>> endif()
>>>
>>> my guess is you have git and GIT_WC_INFO is fatal for not a repository.
>>> The quick fix so you can continue is to replace the block above with
>>>
>>>   set(PGROUTING_VERSION_REVISION_NAME "")
>>>   set(PGROUTING_VERSION_REVISION_HASH "")
>>>
>>> -Steve
>>>
>>>
>>> On 5/25/2013 8:53 AM, Dave Potts wrote:
>>>> On 25/05/13 11:41, Daniel Kastl wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Sat, May 25, 2013 at 6:11 PM, Dave Potts <dave.potts at pinan.co.uk
>>>>> <mailto:dave.potts at pinan.co.uk>> wrote:
>>>>>
>>>>>     Hi list
>>>>>
>>>>>     I want a play from the new version of the tsp code.
>>>>>
>>>>>     I have tried building it on Ubuntu  3.2.0-43-generic #68-Ubuntu
>>>>>     SMP with postgres 9.1.9 using the syntax
>>>>>
>>>>>     cmake DebugFull .
>>>>>
>>>>>     I got the following errors[See Below]
>>>>>
>>>>>     Q. What should the build envronment be pgroute 2.0??
>>>>>
>>>>>
>>>>> Hi Dave,
>>>>>
>>>>> There seems to be a problem with the use of the Git module of CMake.
>>>>> The check for Git is not something that must be included, but it's
>>>>> convenient, because it allows to place the version information for
>>>>> example in the documentation or some time into a function to retreive
>>>>> the pgRouting version.
>>>>>
>>>>> I have tested, that it works when you build from a Git repository 
>>>>> with
>>>>> Git installed.
>>>>> And I think I have tested the case when Git is not installed and it's
>>>>> not a Git repository.
>>>>> In your case, do you build from a cloned repository?
>>>>>
>>>>>
>>>>>     I have already upgraded my version of cmake 2.8.11
>>>>>
>>>>>
>>>>> The required version is checked and it will give an error when your
>>>>> version is not new enough.
>>>>>
>>>>> These are a few commands I'm using to build on Ubuntu:
>>>>> https://gist.github.com/dkastl/5617030
>>>> Hi DAniel,
>>>>
>>>> WIll check out these tools, which version off Ubuntu are you on?
>>>>
>>>> I did'nt clone a copy,  I just got it out as a zip file.
>>>>
>>>> Dave.
>>>>>
>>>>> Daniel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>     regards
>>>>>
>>>>>     Dave.
>>>>>
>>>>> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
>>>>>
>>>>>
>>>>>
>>>>>     src/pgroute/pgr2.0/pgrouting-sew-devel-2_0 failed with output:
>>>>>
>>>>>       fatal: Not a git repository (or any parent up to mount parent )
>>>>>
>>>>>       Stopping at filesystem boundary 
>>>>> (GIT_DISCOVERY_ACROSS_FILESYSTEM
>>>>>     not set).
>>>>>
>>>>>     Call Stack (most recent call first):
>>>>>       CMakeLists.txt:68 (GIT_WC_INFO)
>>>>>
>>>>>
>>>>>     CMake Warning at cmake/FindGit.cmake:144 (message):
>>>>>       No remote origin set for git repository:
>>>>> /home/dp42/src/pgroute/pgr2.0/pgrouting-sew-devel-2_0
>>>>>     Call Stack (most recent call first):
>>>>>       CMakeLists.txt:68 (GIT_WC_INFO)
>>>>>
>>>>>
>>>>>     -- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/9.1/bin/postgres
>>>>>     -- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config
>>>>>     -- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/9.1/server
>>>>>     -- POSTGRESQL_LIBRARIES: /usr/lib
>>>>>     -- Boost version: 1.48.0
>>>>>     Boost headers were found here: /usr/include
>>>>>     -- POSTGRESQL_VERSION_STRING is PostgreSQL 9.1.9
>>>>>     -- POSTGRESQL_VERSION is 9.1.9
>>>>>     -- Install directory for libraries is set to
>>>>>     /usr/lib/postgresql/9.1/lib
>>>>>     -- Install directory for SQL files is set to
>>>>>     /usr/share/postgresql/9.1/extension
>>>>>     -- LIBS_TO_INSTALL=
>>>>>     -- Configuring incomplete, errors occurred!
>>>>>
>>>>>
>>>>>
>>>>>     _______________________________________________
>>>>>     Pgrouting-users mailing list
>>>>>     Pgrouting-users at lists.osgeo.org
>>>>>     <mailto:Pgrouting-users at lists.osgeo.org>
>>>>> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Georepublic UG & Georepublic Japan
>>>>> eMail: daniel.kastl at georepublic.de 
>>>>> <mailto:daniel.kastl at georepublic.de>
>>>>> Web: http://georepublic.de <http://georepublic.de/>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pgrouting-users mailing list
>>>>> Pgrouting-users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pgrouting-users mailing list
>>>> Pgrouting-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>>>>
>>>
>>> _______________________________________________
>>> Pgrouting-users mailing list
>>> Pgrouting-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>>
>> _______________________________________________
>> Pgrouting-users mailing list
>> Pgrouting-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users



More information about the Pgrouting-users mailing list