Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-03

Problem with creating debs

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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

"make" command works fine.

Regards

Reply by email

Mattias Gaertner
to Unknown author

?
?

hat am 14. M?rz 2011 um 14:37 geschrieben:

Show quoted text 6 lines
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110314/94ca4c9b/attachment-0001.html>

Reply by email

Vincent Snijders
to Mattias Gaertner

2011/3/14 Mattias Gaertner :

Show quoted text 30 lines
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

Reply by email

Mattias Gaertner
to Vincent Snijders

?
?

Vincent Snijders hat am 14. M?rz 2011 um 15:46
geschrieben:

Show quoted text 12 lines
2011/3/14 Mattias Gaertner : > > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110314/09571b61/attachment.html>

Reply by email

Unknown author
to Vincent Snijders: 2011/3/14 Mattias Gaertner : Do we still need this script. make deb in the Lazarus…

W dniu 14.03.2011 15:46, Vincent Snijders pisze:

Show quoted text 32 lines
2011/3/14 Mattias Gaertner: > > > > 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?

Reply by email

Mattias Gaertner
to Mattias Gaertner: ? ? Vincent Snijders hat am 14. M?rz 2011 um 15:46 geschrieben: It seems "make deb" has…

?
?

Mattias Gaertner hat am 14. M?rz 2011 um 16:08
geschrieben:

Show quoted text 15 lines
?[...] > >> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110314/a5292f78/attachment.html>

Reply by email