Recent

Author Topic: Please revise the create_lazarus_deb.sh  (Read 9894 times)

fbadriawan

  • New Member
  • *
  • Posts: 15
Please revise the create_lazarus_deb.sh
« on: January 31, 2011, 08:15:19 am »
I just update my lazarus repository using svn, I build the source using create_lazarus_deb.sh  script, locating in lazarusdir/tools/install, and I get following error messege.

Fatal: Can't find unit LazarusPackageIntf used by RegisterLCL

But, when I try to compile using "make clean all", everything work fine.
So the problem is create_lazarus_deb.sh script.

Here some hint.
http://comments.gmane.org/gmane.comp.ide.lazarus.general/48812

Please make some modification in the script, so we can use it again.

Regards.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: Please revise the create_lazarus_deb.sh
« Reply #1 on: January 31, 2011, 12:50:07 pm »
I just update my lazarus repository using svn, I build the source using create_lazarus_deb.sh  script, locating in lazarusdir/tools/install, and I get following error messege.

Fatal: Can't find unit LazarusPackageIntf used by RegisterLCL

But, when I try to compile using "make clean all", everything work fine.
So the problem is create_lazarus_deb.sh script.

You should make a bug report about it.

Juha
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Dibo

  • Hero Member
  • *****
  • Posts: 1048
Re: Please revise the create_lazarus_deb.sh
« Reply #2 on: January 31, 2011, 06:45:51 pm »
I have this same problem. fbadriawan are you reported this bug? I can report it if you don't have mantis account.

Regards

Edit: Ok I reported this. It's very important for me
« Last Edit: January 31, 2011, 06:59:25 pm by Dibo »

Hansaplast

  • Hero Member
  • *****
  • Posts: 674
  • Tweaking4All.com
    • Tweaking4All
Re: Please revise the create_lazarus_deb.sh
« Reply #3 on: February 04, 2011, 04:29:10 am »
Same problem here; is there a work around?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: Please revise the create_lazarus_deb.sh
« Reply #4 on: February 04, 2011, 10:29:39 am »
Same problem here; is there a work around?

The workaround is to use "make all" on cmd line.

Juha
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Dibo

  • Hero Member
  • *****
  • Posts: 1048
Re: Please revise the create_lazarus_deb.sh
« Reply #5 on: February 04, 2011, 11:14:54 am »
Same problem here; is there a work around?
Problem fixed yesterday:
http://bugs.freepascal.org/view.php?id=18650
Refresh svn sources.

BTW: Vincent recommended to use "make deb" command in root lazarus source. Someone have experience with this command? create_fpc_deb.sh and create_lazarus_deb.sh works without any configuration. When I try "make deb" I get strange errors:
Code: [Select]
dpkg-checkbuilddeps: Unmet build dependencies Package: quilt fp
fpc-source-utils imagemagick
dpkg-buildpackage: warning: Failed dependencies / conflicts to build up;
interruption.
dpkg-buildpackage: warning: (Use the-d option to get around this.)
make: *** [debbuild] Error 3

Hansaplast

  • Hero Member
  • *****
  • Posts: 674
  • Tweaking4All.com
    • Tweaking4All
Re: Please revise the create_lazarus_deb.sh
« Reply #6 on: February 06, 2011, 07:47:13 am »
The workaround is to use "make all" on cmd line.

Thanks Juha - that did the trick for me ... after removing the "old" 0.9.31 directory (working with svn now) :)

Hansaplast

  • Hero Member
  • *****
  • Posts: 674
  • Tweaking4All.com
    • Tweaking4All
Re: Please revise the create_lazarus_deb.sh
« Reply #7 on: February 06, 2011, 05:55:36 pm »
Is it just my setup :o or is it correct that TPrintDialog and lazreport do not work under Linux?

Edit: I'm running Ubuntu 10.10 in VMWare Fusion, I did a complete install of the entire OS from scratch, installing FPC, installing Lazarus from SVN (which worked great!), printer drivers are there and I can print a test page, but no printing from Lazarus or Lazarus apps.

Error when trying to print (I use TPrintDialog and LazReport):
pgCopies.Caption: Unknown property: "Caption"

I suspect this has to do with TPrintDialog when I call PrintDialog1.Execute.
(I just eliminated every call to lazreport)
« Last Edit: February 07, 2011, 06:03:31 am by Hansaplast »

fbadriawan

  • New Member
  • *
  • Posts: 15
Re: Please revise the create_lazarus_deb.sh
« Reply #8 on: February 10, 2011, 03:33:34 am »
The bug regarding create_lazarus_deb.sh solved,
Just update your svn (FPC dan Lazarus)
and try to build again.

Thanks for your great jobs

Hansaplast

  • Hero Member
  • *****
  • Posts: 674
  • Tweaking4All.com
    • Tweaking4All
Re: Please revise the create_lazarus_deb.sh
« Reply #9 on: February 14, 2011, 08:24:46 pm »
BTW: Vincent recommended to use "make deb" command in root lazarus source. Someone have experience with this command? create_fpc_deb.sh and create_lazarus_deb.sh works without any configuration. When I try "make deb" I get strange errors:
Code: [Select]
dpkg-checkbuilddeps: Unmet build dependencies Package: quilt fp
fpc-source-utils imagemagick
dpkg-buildpackage: warning: Failed dependencies / conflicts to build up;
interruption.
dpkg-buildpackage: warning: (Use the-d option to get around this.)
make: *** [debbuild] Error 3

Same problem here ... :(

 

TinyPortal © 2005-2018