[Qgis-developer] Re: build_debian_package.sh in qgis-unstable

Neil Best nbest at speakeasy.net
Mon Aug 28 12:22:35 EDT 2006


qgis_0.7.9+svn20060828 builds nicely using ./doCheckInstall.sh but 
./build_debian_package still chokes on not finding gridmaker

Of course, now I notice an item for Ubuntu Dapper on the 0.8 Release 
download page.  Duh.


Neil Best wrote:
> Tim, thanks for your reply.  Another thing I tried with 
> qgis_0.7.9+svn20060826 on Ubuntu Dapper:
> 
> ~/src/qgis-unstable$ sudo ./doCheckInstall.sh
> 
> . . .
> 
> make[6]: Entering directory 
> `/home/neil/src/qgis-unstable/src/widgets/projectionselector'
> make[6]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/lib/qgis" || mkdir -p -- . "/usr/local/lib/qgis"
> true_fopen == 0 for fopen64("/proc/mounts", "r")
>  /bin/sh ../../../libtool --mode=install /usr/bin/install -c 
> 'libqgsprojectionselector.la' 
> '/usr/local/lib/qgis/libqgsprojectionselector.la'
> libtool: install: error: cannot install `libqgsprojectionselector.la' to 
> a directory not ending in /usr/lib/qgis
> make[6]: *** [install-selectorLTLIBRARIES] Error 1
> make[6]: Leaving directory 
> `/home/neil/src/qgis-unstable/src/widgets/projectionselector'
> make[5]: *** [install-am] Error 2
> make[5]: Leaving directory 
> `/home/neil/src/qgis-unstable/src/widgets/projectionselector'
> make[4]: *** [install] Error 2
> make[4]: Leaving directory 
> `/home/neil/src/qgis-unstable/src/widgets/projectionselector'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory `/home/neil/src/qgis-unstable/src/widgets'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/neil/src/qgis-unstable/src'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/neil/src/qgis-unstable'
> make: *** [install] Error 2
> 
> ****  Installation failed. Aborting package creation.
> 
> Cleaning up...OK
> 
> Bye.
> 
> 
> Then I thought I would update:
> 
> neil at gandalf:~/src/qgis-unstable$ svn update
> svn: Working copy '.' locked
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for 
> details)
> neil at gandalf:~/src/qgis-unstable$ svn status
> ?      build-stamp
> ?      debian
> ?      nbest build notes
> ?      patch-stamp
> ?      doc-pak
>   L    .
> M      build_debian_package.sh
> ~      autom4te.cache
> neil at gandalf:~/src/qgis-unstable$ svn cleanup
> svn: 'autom4te.cache' is not a working copy directory
> 
> 
> I only know enough about svn to be dangerous, so I looked through the 
> docs and found out what '~' means, but couldn't see how to resolve it. 
> The only thing I can think of is to rm -r and re-checkout.  What it is 
> autom4te.cache and what should I have done about it?
> 
> Not giving up yet,
> 
> Neil
> 
> 
> Tim Sutton wrote:
>> Hi Neil
>>
>>
>>
>>
>> On 26/08/2006, at 16:37, Neil Best wrote:
>>
>>> Hi, Tim.  I tried out the script that has your email address in it, 
>>> so when it didn't go well I thought I would send you a note.  I am 
>>> running Ubuntu Dapper and inserted a "-d" after "fakeroot 
>>> dpkg-buildpackage" since I also have GRASS 6.1.0 installed from 
>>> source and the package manager is unaware that the libraries and 
>>> headers are in place (I think).  It was compiling away quite merrily 
>>> until:
>>>
>>>
>>> . . .
>>>
>>> dh_install --sourcedir=debian/tmp
>>> cp: cannot stat `debian/tmp//usr/bin/gridmaker': No such file or 
>>> directory
>>> dh_install: command returned error code 256
>>> make: *** [binary-arch] Error 1
>>>
>>>
>>> [ so I looked for gridmaker ]
>>>
>>> neil at gandalf:~/src/qgis-unstable$ ls debian/tmp/usr/bin/qgis
>>> qgis  qgis-config  qgis_help
>>> neil at gandalf:~/src/qgis-unstable$ ls debian//tmp/usr/bin/
>>> qgis  qgis-config  qgis_help
>>>
>>>
>>> What do you think is happening here?
>>>
>>
>> Thanks for the note.  Steve Halasz maintains the debian/ packaging 
>> stuff - I just wrote the build package script. I actually use  ubuntu 
>> so my copy of the debian/ dir is slightly forked to cope with 
>> different versions of gdal etc.  Regarding the gridmaker error I'm not 
>> sure why you are getting that. Perhaps Steve has some ideas - Steve? I 
>> dont have access to my linux box till monday, Ill try to build the 
>> packages then and see if I get the same problem.
>>
>>> I have been referring to these pages on the QGIS web site:
>>>
>>> "How to build qgis from cvs for Debian"
>>> http://qgis.org/index.php?option=com_content&task=view&id=113&Itemid=99 
>>> <http://qgis.org/index.php?option=com_content&task=view&id=113&Itemid=99> 
>>>
>>>
>>> "Building QGIS on Ubuntu Step" 
>>> Step"http://qgis.org/index.php?option=com_content&task=view&id=99&Itemid=99 
>>> <http://qgis.org/index.php?option=com_content&task=view&id=99&Itemid=99>
>>>
>>> Are these pages relevant/useful in your estimation?
>>>
>>
>>
>> The debian install instructions look ok - they do seem to assume you 
>> already have gcc etc set up on your system - which you obviously have.
>>
>>
>>
>>
>>
>>> Should I be submitting this to the community?  I welcome your 
>>> suggestions on how I can contribute.  Thanks.
>>>
>>> Neil
>>>
>>
>> Testing the package building process is already a great contribution! 
>> If you are looking for other things to do Ill be happy to point you in 
>> the right direction. Chiefly filing bugs on
>> https://svn.qgis.org/trac
>>
>> Will be of the most use so we can get all the issues with the upcoming 
>> 0.8 release identified. If you are a coder, bug fixe patches will also 
>> be much appreciated.
>>
>> Its no problem to write to me personally, though the developers 
>> mailing list is usually a better option given the shared brain power 
>> they offer...I forwarded this to the list for now...
>>
>> Best regards
>>
>>
>>
>>
>> Tim Sutton
>> tim at linfiniti.com <mailto:tim at linfiniti.com>
>>
>>
>>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list