Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

Creating Lazarus, and configuring fpc

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
iplayfast
l33t
l33t
User avatar
Posts: 642
Joined: Mon Jul 08, 2002 5:48 pm
Location: Cambridge On,CA
Contact:
Contact iplayfast
Website

Creating Lazarus, and configuring fpc

  • Quote

Post by iplayfast » Tue May 03, 2005 4:56 am

Noticed Lazarus in the portage directory the other day and decided to install it. (Yup, no life, lookin through the portage tree...)

It has a bunch of dependencies but the only major one is fpc. (Free Pascal Compiler). At this point doing an emerge of fpc will install version 1.9.8 (which I've heard is supposed to be the final release candidate for version2) but will fail to do the configuration. So I'm here to help you finish the job :)

If you looked around in /usr/lib/fpc/1.9.8 you will see a script called samplecfg. It's looking for the fpc location and the etc location.

Code: Select all

su -
cd /usr/lib/fpc/1.9.8
./samplecfg /usr/lib/fpc/1.9.8 /etc
Check over the fpc.cfg now located in the /etc directory and modify paths and flags to suit your tastes.

You are now ready to emerge Lazarus. You couldn't do this before because it needs a properly configured pascal compiler to compile it.

Code: Select all

emerge lazarus
Last step.

The link for Lazarus needs to be created in order to be able to start it.

Code: Select all

ln -s /usr/share/lazarus/startlazarus /usr/bin/lazarus
you can now type lazarus on the command line and it will start up. It will need some configuration adjustments, and I'll edit this in the future (with any help from others). On the best way to configure.

I suspect that these ebuilds will change since they don't complete the install properly, and install Lazarus in the /usr/share directory (I wouldn't have guessed that!) However this is not a criticism of the author as I looked at building ebuilds for these packages myself and chickened out. These have gotten us more then 1/2 way there.

*Edit* removed the first fix for fpc, as the ebuild seems to have been fixed.
Last edited by iplayfast on Tue May 10, 2005 3:24 am, edited 1 time in total.
Top
Gacha
n00b
n00b
User avatar
Posts: 10
Joined: Sat Apr 24, 2004 9:37 pm
Location: Latvia

  • Quote

Post by Gacha » Tue May 03, 2005 7:04 am

Thanks for help, I will try this later.
Top
jamiethehutt
n00b
n00b
User avatar
Posts: 66
Joined: Mon Oct 04, 2004 11:23 am
Location: Scotland!
Contact:
Contact jamiethehutt
Website

  • Quote

Post by jamiethehutt » Wed May 04, 2005 8:35 am

Hmm when I installed FPC I never had any of these problems. :?

Nice howto all the same.
"Someday, he thought, it'll be mandatory that we all sell the McDonald's hamburger as well as buy it; we'll sell it back and forth to each other forever from our living rooms. That way we won't even have to go outside." - A Scanner Darkly By PK Dick
Top
davecs
Guru
Guru
User avatar
Posts: 436
Joined: Sat Nov 08, 2003 3:34 pm
Location: Dagenham, GB

  • Quote

Post by davecs » Wed May 04, 2005 11:17 am

I tried this, and got "fpc-2.0.0_rc2" and did not need the first "fix". However I still needed the second one!

Thanks!

(It's so long since I played with Delphi for Windoze that it's gonna take a lot of remembering!)
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Top
iplayfast
l33t
l33t
User avatar
Posts: 642
Joined: Mon Jul 08, 2002 5:48 pm
Location: Cambridge On,CA
Contact:
Contact iplayfast
Website

  • Quote

Post by iplayfast » Wed May 04, 2005 2:39 pm

davecs wrote:I tried this, and got "fpc-2.0.0_rc2" and did not need the first "fix". However I still needed the second one!

Thanks!

(It's so long since I played with Delphi for Windoze that it's gonna take a lot of remembering!)

Whas my first fix the same as what got installed normally for you?
Top
davecs
Guru
Guru
User avatar
Posts: 436
Joined: Sat Nov 08, 2003 3:34 pm
Location: Dagenham, GB

  • Quote

Post by davecs » Sat May 07, 2005 4:17 pm

iplayfast wrote: Was my first fix the same as what got installed normally for you?
No, I just looked and all the files /usr/bin/fpc* are executables, no links. And no fpc386, just

fpc, fpcmake. fpcmkcfg, fpcsubst

Strange, eh?
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Top
iplayfast
l33t
l33t
User avatar
Posts: 642
Joined: Mon Jul 08, 2002 5:48 pm
Location: Cambridge On,CA
Contact:
Contact iplayfast
Website

  • Quote

Post by iplayfast » Tue May 10, 2005 3:21 am

Well I just unmerged and then re-emerged and it's now working the same for me. (fpcmake et all) So I'll edit my original link. Looks like it's been fixed.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy