[Gambas-devel] problems compiling in Debian

Benoit Minisini gambas at ...1...
Thu Aug 10 20:50:51 CEST 2006


On Thursday 10 August 2006 20:37, José L. Redrejo Rodríguez wrote:
>
> Right, I can solve it doing
> 	$(MAKE)  prefix=`pwd`/debian/tmp/usr \
> 		ROOT="$(CURDIR)/debian/tmp"

No you should do:

	./configure --prefix=/usr

 	$(MAKE)  DESTDIR="$(CURDIR)/debian/tmp"

>
> as I later do
> 	$(MAKE) install prefix=`pwd`/debian/tmp/usr \
> 		ROOT="$(CURDIR)/debian/tmp"

And then:

 	$(MAKE) install prefix=`pwd`/debian/tmp/usr \
 		DESTDIR="$(CURDIR)/debian/tmp"

>
> And then the whole gambas stuff is compiled without problems in
> `pwd`/debian/tmp/ to make the package. But my doubt is: Once the package
> is isntalled, and gbc2 is placed at /usr/bin... will it work?
> If not, it doesn't make much sense...

It should work. 

$(prefix) tells gbx2, gbc2 and gbi2 where Gambas will be finally installed, 
but only during the compilation process.

DESTDIR tells the Makefile specific install rules where it can find gbc2, gba2 
and gbi2. 

Tell me the result. If it works, I will put that in a HowTo!

Regards,

-- 
Benoit Minisini





More information about the Devel mailing list