[H-GEN] GIS viewer wanted

Anthony Irwin anthony at irwinresources.com
Sun May 27 23:50:48 EDT 2007


andrew laidlaw wrote:
> HI Anthony,
> 
> I must get Broadband.
> 
> Anyway, I tried the install, and as you predicted, ./configure fell over 
> for a qt reason.
> 
> So I went to YaST / software management to see what qt software was 
> present.   Of about  fifty qtxxxx items known to the distribution, only 
> one is installed, which is qt3.  If all I needed on top of that was qt 
> (core components an 800K archive) and qt3-devel (include files and 
> Mandatory libraries - 2MB), I might be in good shape?  But I'm only 
> rough guessing.
> 
> Otherwise, I've got to do a 60MB rpm for suse10.2 (not 10.1) or try the 
> reasonably sized FC4 or FC6 .rpm.  But I don't see how they can work if 
> the suse specific binary is five times the size?
> 

Hello Andrew,

Seeing you have a really slow internet connection I decided to compile 
the program to see what was involved to let you know if its worth the 
effort.

I did get the program to compile on a fedora core 6 machine but it was 
not a simple ./configure && make && sudo make install

There are a few screwed up things in my opinion but I will let you 
know what I had to do to get it to work then you can decide if you 
want to go and download the other things required.

First off you will need the development and binary packages for the 
following which should hopefully be in the package repository it was 
for fc6 anyway.

Qt 4.2.2 (according to their site this is the minimum)
gdal
geos
grass
proj

There may be other things required that I already had on my system 
this is just what I needed to install.

I had to manually pass in environment variables for moc and uic for 
some reason it did not look at the path even though I did do 
PATH=/usr/lib/qt4/bin:$PATH && export PATH

MOC=/usr/lib/qt4/bin/moc UIC=/usr/lib/qt4/bin/uic ./configure 
--with-qtdir=/usr

Also at the end of the make for some reason it looks for qmake and 
lrelease in /usr/bin so I manually created symbolic links for them to 
point to the /usr/lib/qt4/bin/qmake and /usr/lib/qt4/bin/lrelease and 
reran make and it was happy.

I then did sudo make install and it put the executables for the 
program in /usr/lib/bin so if you want to run the program it would be 
/usr/lib/bin/qgis

Although in my opinion they stuffed up the compiling process it does 
work if you tinker a little bit.

ALSO NOTE: The paths to qt4 stuff may be different under suse.

-- 
Kind Regards,
Anthony Irwin

http://www.irwinresources.com
http://www.makehomebusiness.com
email: anthony at above domains, - www.




More information about the General mailing list