[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-grass-general] Re: Mapserver debian package do not build



Petter Reinholdtsen wrote:

[Petter Reinholdtsen]
Is this expected?  How do I get this package compiling in Sarge??
With this pakage :
http://agrogeomatic.educagri.fr/debian/dists/sarge/main/binary-i386/php4/php4-cgi-mapscript-dev_4.3.10-3_all.deb
That's a new and unoficial package made for mapserver.

But you may be focus on the unstable version availlable on alioth, I made a lot of change on the rules file, the building process is very different.

I read a bit about the problem, and decided to ignore PHP for now.  I
removed --with-php from debian/rules, and removed the install rule for
the php package.  This got the build going.  I noticed a few issues
with the current build system:

- dh_testroot is called both in the clean and the build target.  It
  should not, as this make it impossible to use the latest debuild to
  build the package.

- The code to patch the source seem to be home-made and prone to
  errors.  I recommend using something like dpatch instead.  Let me
  know if you need help with this.

Do you keep the debian build rules for mapserver in some source
control repository?  It would be easier for me to assist if it is.  Do
you need a hand with the packaging? I would be glad to help.,
Yes help is greatly appreciated, that's not so easy to make a "realy clean" debian package. I'm not using anythings like a CVS for managing build rules files, may be someone can open a new mapserver module on alioth CVS ? I can open one somewhere else if you want.

I managed to get the non-php packages built and installed.  Now I need
to find out how to use mapserver. :)

Php mapscript is the most unstable and the most dificult to integrate in debian, but also the most used part of mapserver. If you realy don't have any idea on some project for using mapserver, take a look on http://www.debian.org/devel/todo/ (the debian developpers localisation tools project) ;-).

   Thomas





Reply to: