Recent

Author Topic: PC-BSD AppCafe without fpc ?  (Read 11934 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 1675
    • miXimum is the DJ's best friend
PC-BSD AppCafe without fpc ?
« 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
« Last Edit: October 22, 2014, 03:15:41 pm by Fred vS »
I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: freeBSD AppCafe without fpc ?
« Reply #1 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..
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 1675
    • miXimum is the DJ's best friend
Re: freeBSD AppCafe without fpc ?
« Reply #2 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

Fre;D
I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: freeBSD AppCafe without fpc ?
« Reply #3 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)...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7497
Re: freeBSD AppCafe without fpc ?
« Reply #4 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.
« Last Edit: October 21, 2014, 02:38:41 pm by marcov »

Fred vS

  • Hero Member
  • *****
  • Posts: 1675
    • miXimum is the DJ's best friend
Re: PC-BSD AppCafe without fpc ?
« Reply #5 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.

 ;)
« Last Edit: October 22, 2014, 03:16:06 pm by Fred vS »
I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 1675
    • miXimum is the DJ's best friend
Re: PC-BSD AppCafe without fpc ?
« Reply #6 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.

 ;)
« Last Edit: October 22, 2014, 03:16:37 pm by Fred vS »
I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: freeBSD AppCafe without fpc ?
« Reply #7 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...
« Last Edit: October 22, 2014, 11:06:09 am by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 1675
    • miXimum is the DJ's best friend
Re: PC-BSD AppCafe without fpc ?
« Reply #8 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
I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: PC-BSD AppCafe without fpc ?
« Reply #9 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/

;)
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7497
Re: PC-BSD AppCafe without fpc ?
« Reply #10 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.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: PC-BSD AppCafe without fpc ?
« Reply #11 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.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 1675
    • miXimum is the DJ's best friend
Re: PC-BSD AppCafe without fpc ?
« Reply #12 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
I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: PC-BSD AppCafe without fpc ?
« Reply #13 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!
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 1675
    • miXimum is the DJ's best friend
Re: PC-BSD AppCafe without fpc ?
« Reply #14 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

I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs