Re: [Qgis-user] Build QGIS from source

2007-06-20 Thread Sebastian Schmitz

Hi,

that would be greatly appreciated.

Thanks

Sebastian

Tim Sutton schrieb:

Hi

My apologies I just realised there is a piece missing from the linux
build notes which explains why you got stuck at a certain point! I
will try to update the notes tonight

Regards

Tim

2007/6/18, Stephan Holl [EMAIL PROTECTED]:

Hello Sebastian,

Sebastian Schmitz [EMAIL PROTECTED], [20070618 -
12:33:12]

 In which directory?

 checked out sources to ~/dev/cpp. contains a folder qgis.
 created dir ~/apps. empty.

 make does not do anything - does not find a make-Steuerdatei -
 Makefile

Ah, OK. You need to build the Makefiles using CMake. (adjust your
pathes).

QGISTARGET=~/apps
GRASSBINS=/home/holl/cvs/grass_HEAD/dist.i686-pc-linux-gnu
QT4DIR=/usr/share/qt4
export PATH=${QT4DIR}/bin:$PATH
export LD_LIBRARY_PATH=${QT4DIR}/lib:$LD_LIBRARY_PATH
cd ~/dev/cpp/qgis/
mkdir -p build
cd build
cmake -D GRASS_PREFIX=${GRASSBINS} -D \
CMAKE_INSTALL_PREFIX=${QGISTARGET} -D QT_BINARY_DIR=${QT4DIR}/bin -D \
WITH_BINDINGS=yes -D CMAKE_BUILD_TYPE=debug .. \
make

the above stuff is described under 3.7 though not with my options.

HTH

Stephan


--
Stephan Holl [EMAIL PROTECTED], http://intevation.de/~stephan
Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user






--
---
WhereGroup
GmbH  Co. KG
Siemensstr. 8
D-53121 Bonn
Amtsgericht Bonn, HRA 6788

Fon: +49 (0)228 / 90 90 38 - 24
Fax: +49 (0)228 / 90 90 38 - 11

mailto:[EMAIL PROTECTED]
http://www.wheregroup.com
---
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
--- 



___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] Build QGIS from source

2007-06-20 Thread Sebastian Schmitz

Hi,
let me provide some detail, so you can maybe include this when updating 
http://wiki.qgis.org/qgiswiki/BuildingFromSource.
These are my problems trying to build QGIS from SVN source on kubuntu 
edgy eft (sources.list below).


Following http://wiki.qgis.org/qgiswiki/BuildingFromSource:

at step 4.3: libqt4-debug-dev is not available
at step 4.4: libgdal1-dev is not available, but is replaced by 
libgdal1-1.3.1-dev
instead of 4.9 installed cmake and did 3.7 and then 3.9 called cmake 
like this: cmake -D CMAKE_INSTALL_PREFIX=/home/schmitz/apps/ .

some warnings no errors.

When I then run ~/apps/bin/qgis
I first get this: ./qgis: symbol lookup error: ./qgis: undefined symbol: 
_ZN10QgsMapTool9setActionEP7QAction

then at second try this: Segmentation fault (core dumped)

Any help appreciated.

Cheers

Sebastian

#
# deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025)]/ edgy 
main restricted



##deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025)]/ edgy 
main restricted


deb http://de.archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://de.archive.ubuntu.com/ubuntu/ edgy universe
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ edgy-backports main restricted 
universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy-backports main 
restricted universe multiverse



deb http://security.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted
deb http://security.ubuntu.com/ubuntu edgy-security universe
deb-src http://security.ubuntu.com/ubuntu edgy-security universe


Sebastian Schmitz schrieb:

Hi,

that would be greatly appreciated.

Thanks

Sebastian

Tim Sutton schrieb:

Hi

My apologies I just realised there is a piece missing from the linux
build notes which explains why you got stuck at a certain point! I
will try to update the notes tonight

Regards

Tim

2007/6/18, Stephan Holl [EMAIL PROTECTED]:

Hello Sebastian,

Sebastian Schmitz [EMAIL PROTECTED], [20070618 -
12:33:12]

 In which directory?

 checked out sources to ~/dev/cpp. contains a folder qgis.
 created dir ~/apps. empty.

 make does not do anything - does not find a make-Steuerdatei -
 Makefile

Ah, OK. You need to build the Makefiles using CMake. (adjust your
pathes).

QGISTARGET=~/apps
GRASSBINS=/home/holl/cvs/grass_HEAD/dist.i686-pc-linux-gnu
QT4DIR=/usr/share/qt4
export PATH=${QT4DIR}/bin:$PATH
export LD_LIBRARY_PATH=${QT4DIR}/lib:$LD_LIBRARY_PATH
cd ~/dev/cpp/qgis/
mkdir -p build
cd build
cmake -D GRASS_PREFIX=${GRASSBINS} -D \
CMAKE_INSTALL_PREFIX=${QGISTARGET} -D QT_BINARY_DIR=${QT4DIR}/bin -D \
WITH_BINDINGS=yes -D CMAKE_BUILD_TYPE=debug .. \
make

the above stuff is described under 3.7 though not with my options.

HTH

Stephan


--
Stephan Holl [EMAIL PROTECTED], 
http://intevation.de/~stephan
Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 
18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver 
Wagner

___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user








--
---
WhereGroup
GmbH  Co. KG
Siemensstr. 8
D-53121 Bonn
Amtsgericht Bonn, HRA 6788

Fon: +49 (0)228 / 90 90 38 - 24
Fax: +49 (0)228 / 90 90 38 - 11

mailto:[EMAIL PROTECTED]
http://www.wheregroup.com
---
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
--- 



___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] Build QGIS from source

2007-06-20 Thread Martin Dobias

When I then run ~/apps/bin/qgis
I first get this: ./qgis: symbol lookup error: ./qgis: undefined symbol:
_ZN10QgsMapTool9setActionEP7QAction


This is surely due the fact that your system uses wrong libraries - it
chooses those in e.g. /usr/local/lib but it has to choose the ones
which are in ~/apps/libs

How to do this - set LD_LIBRARY_PATH variable - it will add the
specified dirs to the library search:
export LD_LIBRARY_PATH=~/apps/lib

This should also go to the wiki...

Martin
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


[Qgis-user] Build QGIS from source

2007-06-18 Thread Sebastian Schmitz

Hi
I want to build qgis from SVN trunk source.
I followed this documentation for Linux running ubuntu edgy:
http://wiki.qgis.org/qgiswiki/BuildingFromSource

I get through to step 4.9. Then one question remains: how do I build?

Cheers

Sebastian

--
---
WhereGroup
GmbH  Co. KG
Siemensstr. 8
D-53121 Bonn
Amtsgericht Bonn, HRA 6788

Fon: +49 (0)228 / 90 90 38 - 24
Fax: +49 (0)228 / 90 90 38 - 11

mailto:[EMAIL PROTECTED]
http://www.wheregroup.com
---
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
--- 



___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user