Please add package fpc-src

Bug #126003 reported by Felipe Monteiro de Carvalho
14
Affects Status Importance Assigned to Milestone
lazarus (Baltix)
New
Undecided
Unassigned
lazarus (Ubuntu)
Fix Released
Undecided
Pascal De Vuyst

Bug Description

Binary package hint: lazarus

In order to work correctly, the Lazarus IDE requires that the Free Pascal sources be installed. The IDE can work without the sources, but some important code completion features are disabled.

You can find a debian package for the Free Pascal Sources here:

http://sourceforge.net/project/showfiles.php?group_id=89339

It is called fpc-src_2.0.4-1_i386.deb and includes the full source code of Free Pascal (compiler sources, rtl sources, etc).

This package should be added as a dependency, or at least a recomendation, for the Lazarus IDE.

thanks

Revision history for this message
SoulChild (info-eshatdesign-deactivatedaccount-deactivatedaccount) wrote :

And it also needs binutils, otherwise it won't compile anything!

Revision history for this message
Felipe Monteiro de Carvalho (felipemonteiro-carvalho) wrote :

I think that the binutils are already (or should be if they aren't) a pre-requisite of the compiler. So you don't need to add this requisite to Lazarus itself, as it depends on the compiler, which in turn already depends on the binutils.

Revision history for this message
alresave (alresave) wrote :

The Free Pascal sources are a pre-requisite and must be in the repository, otherwise Lazarus is useless

Revision history for this message
schenkos (schenk75) wrote :

I confirm that this package is mandatory before compiling any project under Lazarus. Please kindly add it.

Revision history for this message
dvh (dusan-halicky) wrote :

Well technically, it is possible to work in lazarus without FPC source, but NOBODY do that, cause for the most advanced features, you definetely need fpc source. I strongly recomend to add the source to the repository. The second reason is current version is 2.2.0 and there is no older version on fpc website available.

Please, add fpc source to the repository. Thanks.

Revision history for this message
Zac Brown (rufius) wrote :

Is anything going to actually be done about this?

Revision history for this message
Marcelo Briones (margori) wrote :

I'm moving to give pascal an space in linux world.

My objective: Make lazarus ready to use out of repositories.

Revision history for this message
Marcelo Briones (margori) wrote :

Lazarus out of box misses fpc-src.

External package needed.

Changed in lazarus:
assignee: nobody → margori
status: New → Confirmed
Revision history for this message
Marcelo Briones (margori) wrote :

In this link is described a fast solution for this bug

https://answers.launchpad.net/ubuntu/+question/16174

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote : Debian already has fpc-source package - please include it in Ubuntu hardy

This bug can be solved by simply importing fpc-source from Debian, see http://packages.debian.org/fpc-source

Changed in lazarus:
assignee: margori → nobody
Revision history for this message
aidave (aidave) wrote :

"You can find a debian package for the Free Pascal Sources here:

http://sourceforge.net/project/showfiles.php?group_id=89339

It is called fpc-src_2.0.4-1_i386.deb and includes the full source code of Free Pascal (compiler sources, rtl sources, etc)."

This doesn't work. It says "Error: Dependency is not satisfiable: fpc|fp-compiler" When I try to install that first, it goes in a circular loop with these dependency requirements.

I've been trying to get Lazarus to work on Ubuntu for 2 weeks. @#$@$!!! Why must it be so difficult.

Revision history for this message
aidave (aidave) wrote :

"This bug can be solved by simply importing fpc-source from Debian, see http://packages.debian.org/fpc-source"

Also this doesnt work. Using apt-get to install fpc, Lazarus still doesn't like the installed fpc.

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

The fpc-source package isn't available in Ubuntu at this moment.
I filed a request to sync the fpc-source package and the latest lazarus package from Debian in bug #207297, so watch that bug report.

Revision history for this message
Felipe Monteiro de Carvalho (felipemonteiro-carvalho) wrote : Re: [Bug 126003] Re: Please add package fpc-src

While Ubuntu developers don't fix their distribution (which seams will
be a very long time), users having trouble installing Lazarus on
Ubuntu can use the following instructions:

http://wiki.lazarus.freepascal.org/Installing_Lazarus#Ubuntu_.2F_Debian

--
Felipe Monteiro de Carvalho

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

This should be fixed with fpc-source 2.2.0-dfsg1-5 and lazarus 0.9.24-0-5.
Please reopen if this still is a problem.

Changed in lazarus:
assignee: nobody → pascal-devuyst
status: Confirmed → Fix Released
Revision history for this message
dvh (dusan-halicky) wrote :

dvh@ubuntu710$ sudo apt-get update
...
dvh@ubuntu710$ apt-cache search fpc-source
dvh@ubuntu710$

I think it's stil a problem.

2008/4/1, Pascal De Vuyst <email address hidden>:
> This should be fixed with fpc-source 2.2.0-dfsg1-5 and lazarus 0.9.24-0-5.
> Please reopen if this still is a problem.
>
> ** Changed in: lazarus (Ubuntu)
> Assignee: (unassigned) => Pascal De Vuyst (pascal-devuyst)
> Status: Confirmed => Fix Released
>
>

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

dvh, going by your computer name you seem to be running gutsy.
The bug has been fixed in the latest development version of Ubuntu - the Hardy Heron.

If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "How to request new packages" at [WWW] https://help.ubuntu.com/community/UbuntuBackports#request-new-packages

Revision history for this message
dvh (dusan-halicky) wrote :

ok thanks, I will wait for Ubuntu 8.04, no problem

2008/4/2, Pascal De Vuyst <email address hidden>:
> dvh, going by your computer name you seem to be running gutsy.
> The bug has been fixed in the latest development version of Ubuntu - the Hardy Heron.
>
> If you need a fix for the bug in previous versions of Ubuntu, please
> follow the instructions for "How to request new packages" at [WWW]
> https://help.ubuntu.com/community/UbuntuBackports#request-new-packages

Revision history for this message
aidave (aidave) wrote :

Running:

"sudo apt-get install fpc"
"sudo apt-get install lazarus"

Causes some kind of wierd error where I can't find the FreePascal SRC directory!
Using Hardy 8.04 latest updates.

Gonna try "sudo apt-get install fpc-source" next.

I think Lazarus should have these packages as a requirement. Otherwise it is too painful for people to install, it is not obvious what to do, and that causes people to be turned off from this development environment.

Revision history for this message
aidave (aidave) wrote :

Running "sudo apt-get install fpc-source" did not resolve the problem.

Revision history for this message
aidave (aidave) wrote :

Must run "apt-get install fpc fpc-source lazarus" all three of those packages!

Revision history for this message
XTudo - Robson Fernando (xtudo) wrote :

Fix to problem:

~$ sudo apt-get install fpc fpc-source fp-units-rtl

Revision history for this message
dvh (dusan-halicky) wrote :

Yes, it works now, back in 6.04 days it doesn't. Somebody should close
this bug as resolved (if it isn't already resolved).

Revision history for this message
schenkos (schenk75) wrote :

Lazarus packages provided by Ubuntu are old and broken.

After having read http://wiki.lazarus.freepascal.org/How_to_setup_a_FPC_and_Lazarus_Ubuntu_repository, I did my own packages for Lazarus 0.9.26 and FreePacal 2.2.2 by synchronizing sources from SVN using the latest tags for stable version and it works perfectly.

Only 3 packages are necessary even if fpc-src is a bigger one (not splitted anymore in several packages):
- fpc_2.2.2-080906_amd64.deb
- fpc-src_2.2.2-080906_amd64.deb
- lazarus_0.9.26.16995-0_amd64.deb

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.