Lazarus

Programming => Operating Systems => Other => Topic started by: Fred vS on October 21, 2014, 01:59:50 pm

Title: PC-BSD AppCafe without fpc ?
Post by: Fred vS on October 21, 2014, 01:59:50 pm
Hello.  ;)

Good surprise =>  AppCafe (the freeBSD-installer) proposes Lazarus in his catalog.

So i have installed Lazarus via AppCafe on PC-BSD 10.

On PC-BSD 64 bit the installation was ok but when loading Lazarus => error message => fpc is not installed. ;-(

So i go back to AppCafe to install fpc... but no fpc in catalog  :'(

Have installed manually fpc and then i was able to use Lazarus with freeBSD (congrat, works perfect  :-* ).

Could it be possible to have, like you do for Linux-install, a Lazarus-install that install fpc too ?
Or add fpc into AppCafe-freeBSD catalog ?

That to push freeBSD-people to use Lazarus.
Newbies will be discouraged if they get error message after install.

PS : In freeBSD 32 bit, Lazarus-install ended with error message => "There are problems from Lazarus main server"

Many thanks.

Fre;D
Title: Re: freeBSD AppCafe without fpc ?
Post by: BigChimp on October 21, 2014, 02:06:50 pm
Please file a bug report with your BSD distribution.... having Lazarus without installed FPC is rather useless..
Title: Re: freeBSD AppCafe without fpc ?
Post by: Fred vS on October 21, 2014, 02:21:13 pm
Quote
Please file a bug report with your BSD distribution

=> http://bugs.freepascal.org/view.php?id=26917 (http://bugs.freepascal.org/view.php?id=26917)

Fre;D
Title: Re: freeBSD AppCafe without fpc ?
Post by: BigChimp on October 21, 2014, 02:29:02 pm
But that's not the FreeBSD bug tracker!?!?

Packages on FreeBSD are a FreeBSD responsibility (unless the FreeBSD packaging team by coincidence happens to be FPC devs as well)...
Title: Re: freeBSD AppCafe without fpc ?
Post by: marcov on October 21, 2014, 02:35:29 pm
But that's not the FreeBSD bug tracker!?!?

Packages on FreeBSD are a FreeBSD responsibility (unless the FreeBSD packaging team by coincidence happens to be FPC devs as well)...

I do the tgz, Alonso Cardenas Marquez does the ports tree entry. (from which also binary only packages are made)

The whole appcafe thing is a third party thing of PCBSD, and not general FreeBSD.  It seems to at least partially work on top of the FreeBSD pkgng system though.  Contact the appcafe responsibles directly for help, or simply install FPC using "pkg_add fpc" on the cmdline.
Title: Re: PC-BSD AppCafe without fpc ?
Post by: Fred vS on October 21, 2014, 07:39:55 pm
Quote
FPC using "pkg_add fpc" on the cmdline.

I do not understand who is the maintainer of AppCafe-Lazarus but it will be great if he adds in "Description" =>

Quote
Warning !
Lazarus needs the Free Pascal Compiler.
You may install FPC using "pkg_add fpc" on the cmdline.

 ;)
Title: Re: PC-BSD AppCafe without fpc ?
Post by: Fred vS on October 21, 2014, 08:05:33 pm
Quote
You may install FPC using "pkg_add fpc" on the cmdline.

Yep, for me it works using "sudo pkg install fpc" on the cmdline.

 ;)
Title: Re: freeBSD AppCafe without fpc ?
Post by: BigChimp on October 22, 2014, 10:12:54 am
Quote from: Fred vS link=topic=26204.msg160672#
I do not understand who is the maintainer of AppCafe-Lazarus
Ask on a PCBSD forum, not here. We don't know.

Edit: also, any remotely competent packaging system allows for specifying dependencies on other packages so that would be the obsvious solution...

Edit: BTW, your topic title and first post are incorrect as Marco pointed out: AppCafé is PC BSD specific; FreeBSD does not have it...
Title: Re: PC-BSD AppCafe without fpc ?
Post by: Fred vS on October 22, 2014, 03:24:44 pm
Quote
Edit: BTW, your topic title and first post are incorrect as Marco pointed out: AppCafé is PC BSD specific; FreeBSD does not have it...

OK => changed title  :-[

Hum i have a question for Lazarus and freeBSD  (but for PC-BSD too)  :-\

I did sudo pkg install fpc => OK it installs and works  ;D

I did sudo pkg install lazarus => OK it installs... but when loading Lazarus and choose the fpc-folder => Warning => Do not find fpc.cfg.

And for newbies it is hard core to fix it.

Thanks.

Fre;D
Title: Re: PC-BSD AppCafe without fpc ?
Post by: BigChimp on October 22, 2014, 03:43:30 pm
Hum i have a question for Lazarus and freeBSD  (but for PC-BSD too)  :-\
https://forums.freebsd.org/

;)
Title: Re: PC-BSD AppCafe without fpc ?
Post by: marcov on October 22, 2014, 04:01:13 pm
Probably Lazarus doesn't research the correct prefix and doesn't find /usr/local/etc/fpc.cfg or so.   I don't know how lazarus fpc.cfg finding works.
Title: Re: PC-BSD AppCafe without fpc ?
Post by: BigChimp on October 22, 2014, 04:09:56 pm
I did sudo pkg install lazarus => OK it installs... but when loading Lazarus and choose the fpc-folder => Warning => Do not find fpc.cfg.
Well, it's a warning - Lazarus should still work, right? Obviously the version of fpc you installed does not put fpc.cfg in the place Lazarus expects but as long as the fpc binary can find it, it's not a problem.
Title: Re: PC-BSD AppCafe without fpc ?
Post by: Fred vS on October 22, 2014, 07:25:50 pm
@ BigChimp and marcov => Thanks for great answer.

Quote
Well, it's a warning - Lazarus should still work, right? Obviously the version of fpc you installed does not put fpc.cfg in the place Lazarus expects but as long as the fpc binary can find it, it's not a problem.

PS: For me it is not a problem, i installed fpc and lazarus the "hard-core" way (from trunk).
But those remarks are for newbies, i would be very happy if my favorite compiler and his ide will be accessible, out of the box, for no-gurus and new-programmers.

Thanks.

Fre;D
Title: Re: PC-BSD AppCafe without fpc ?
Post by: BigChimp on October 22, 2014, 07:33:52 pm
Yes, yes YES but you are posting on THE WRONG FORUM as you need to CONTACT THE PEOPLE WHO PACKAGE LAZARUS for APPCAFE!
Title: Re: PC-BSD AppCafe without fpc ?
Post by: Fred vS on October 22, 2014, 07:59:34 pm
Quote
Yes, yes YES but you are posting on THE WRONG FORUM as you need to CONTACT THE PEOPLE WHO PACKAGE LAZARUS for APPCAFE!

Mijn grote vriend, if you take your good glazes you will see that i talk about => sudo pkg install lazarus

And pkg is a freeBsd command, not a AppCafe command.

 :-X

Fre;D

Title: Re: PC-BSD AppCafe without fpc ?
Post by: BigChimp on October 22, 2014, 08:02:18 pm
Yes, but if you put your thinking cap on you'll see that packaging FPC and FPC source and specifying that as a dependency to Lazarus in AppCafé solves everything: no need for newbies to run pkg whatever...

Even if those don't get packaged, any notes on steps needed to install required packages (via pkg whatever) would need to be added to the Lazarus package description in Appcafé...
Title: Re: PC-BSD AppCafe without fpc ?
Post by: Fred vS on October 22, 2014, 08:09:40 pm
Quote
Yes, but if you put your thinking cap on you'll see that packaging FPC and FPC source and specifying that as a dependency to Lazarus in AppCafé solves everything: no need for newbies to run pkg whatever...

Even if those don't get packaged, any notes on steps needed to install required packages (via pkg whatever) would need to be added to the Lazarus package description in Appcafé...

OK, capito => I'm going to annoy those people of AppCafe...  ;)

Fre;D
Title: Re: PC-BSD AppCafe without fpc ?
Post by: BigChimp on October 22, 2014, 08:12:29 pm
Très bien ;)
Title: Re: PC-BSD AppCafe without fpc ?
Post by: Fred vS on October 23, 2014, 02:11:52 pm
Hello  ;)

=> https://forums.pcbsd.org/showthread.php?t=23204 (https://forums.pcbsd.org/showthread.php?t=23204)

Fre;D
Title: Re: PC-BSD AppCafe without fpc ?
Post by: Fred vS on November 05, 2014, 03:23:58 pm
https://forums.pcbsd.org/showthread.php?t=23204 (https://forums.pcbsd.org/showthread.php?t=23204)

 ;)
Title: Re: PC-BSD AppCafe without fpc ?
Post by: marcov on November 05, 2014, 03:41:36 pm
I checked what the FreeBSD ports tree does, and it seems they simply tell the user to install source (and set the directory) himself.
TinyPortal © 2005-2018