Re: [Lazarus] Problem with creating debs

2011-03-14 Thread Mattias Gaertner
 
 

dib...@wp.pl hat am 14. März 2011 um 14:37 geschrieben:

 Hi,

 I am trying create debs like always by calling create_lazarus_deb.sh
 script. But now I get error:

 gtkwinapi.inc(1861,4) Fatal: Syntax error, . expected but ; found 
The script compiles the old gtk1 interface too.
 

 
 make command works fine. 
make only compiles the gtk2 interface.
 
I fixed the compilation of the gtk1 interface and the script now only compiles
the default widgetset (gtk2).
 
 
Mattias--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Problem with creating debs

2011-03-14 Thread Vincent Snijders
2011/3/14 Mattias Gaertner nc-gaert...@netcologne.de:




 dib...@wp.pl hat am 14. März 2011 um 14:37 geschrieben:

 Hi,

 I am trying create debs like always by calling create_lazarus_deb.sh
 script. But now I get error:

 gtkwinapi.inc(1861,4) Fatal: Syntax error, . expected but ; found



 The script compiles the old gtk1 interface too.




 make command works fine.



 make only compiles the gtk2 interface.



 I fixed the compilation of the gtk1 interface and the script now only
 compiles the default widgetset (gtk2).

Do we still need this script. make deb in the Lazarus directory works too.

Vincent

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Problem with creating debs

2011-03-14 Thread Mattias Gaertner
 
 

Vincent Snijders vincent.snijd...@gmail.com hat am 14. März 2011 um 15:46
geschrieben:

 2011/3/14 Mattias Gaertner nc-gaert...@netcologne.de:
 
  dib...@wp.pl hat am 14. März 2011 um 14:37 geschrieben:
 
  Hi,
 
  I am trying create debs like always by calling create_lazarus_deb.sh
  script. [...]
  I fixed the compilation of the gtk1 interface and the script now only
  compiles the default widgetset (gtk2).

 Do we still need this script. make deb in the Lazarus directory works too.
It seems make deb has higher requirements:

dpkg-checkbuilddeps: Unmet build dependencies: quilt fpc-source
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
make: *** [debbuild] Error 3

Is there a flag to build it without installed fpc-source?

Mattias--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Problem with creating debs

2011-03-14 Thread dibo20

W dniu 14.03.2011 15:46, Vincent Snijders pisze:

2011/3/14 Mattias Gaertnernc-gaert...@netcologne.de:




dib...@wp.pl hat am 14. März 2011 um 14:37 geschrieben:


Hi,

I am trying create debs like always by calling create_lazarus_deb.sh
script. But now I get error:

gtkwinapi.inc(1861,4) Fatal: Syntax error, . expected but ; found



The script compiles the old gtk1 interface too.





make command works fine.



make only compiles the gtk2 interface.



I fixed the compilation of the gtk1 interface and the script now only
compiles the default widgetset (gtk2).

Do we still need this script. make deb in the Lazarus directory works too.

Vincent

I can't find any info how to use make deb. When I call this in lazarus 
sources root folder then I get some dependency errors (with fp-tools 
etc.). Also I don't know if you must call this only in lazarus folder or 
in fpc source too?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Problem with creating debs

2011-03-14 Thread Mattias Gaertner
 
 


Mattias Gaertner nc-gaert...@netcologne.de hat am 14. März 2011 um 16:08
geschrieben:


  [...]
 
   I am trying create debs like always by calling create_lazarus_deb.sh
   script. [...]
 [...]
  Do we still need this script. make deb in the Lazarus directory works too.
 It seems make deb has higher requirements:
 
 dpkg-checkbuilddeps: Unmet build dependencies: quilt fpc-source
 dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
 aborting.
 dpkg-buildpackage: warning: (Use -d flag to override.)
 make: *** [debbuild] Error 3
 
 Is there a flag to build it without installed fpc-source?

It does an unnecessary make clean too. Why?

After installing quilt and fpc-source it fails with:

Processing Makefile.fpc
Error: Target go32v2, package rtl not found

Is there some documentation how to get make deb working?


Mattias--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus