Gutsy : Lazarus - FPC source dir not found

Asked by JohnEverest

Ubuntu 7.10 clean install. Installed Lazarus using add/remove....

Lazarus starts up with a warning messagebox about "The Free Pascal source was not found - Some functions will not work" and an "Ignore" button.

 I tried a simple Tbutton and Tlabel on the form but the failed with class method not found error.
Regards
JohnEv

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
JohnEverest
Solved:
Last query:
Last reply:
Revision history for this message
Mauricio Maca (mmaca) said :
#1

No write in English, but look this page and problem solution:

http://www.ubuntu-es.org/index.php?q=node/67098

EXITOS....

Revision history for this message
JohnEverest (john-everest) said :
#2

My apologies, if some kind person could translate the info at the above link into English I would be most grateful
Regards
JohnEv

Revision history for this message
Mauricio Maca (mmaca) said :
#3

Solution: (espanglish, summary of the important thing)

Download source FPC of:

http://packages.ubuntu.com/gutsy/source/fpc

the files

File Size (in kB
fpc_2.0.4-5.dsc 0.9
fpc_2.0.4.orig.tar.gz 20092.4 (only download this)
fpc_2.0.4-5.diff.gz 9.3

The archive Fpc_2.0.4.orig.tar.gz is opened and is extracted in a everything folder (by defect in the folder /fpc-2.0.4/). copy it folder in /usr/src, the sources are in /usr/src/fpc-2.0.4/.

Executes lazarus and then selected of menu: enviorenment --> enviorenment Options, and in "Directory of sources FPC" write usr/src/fpc-2.0.4/.

Espero que entiendas..., I hope that you understand...

EXITOS....

Revision history for this message
JohnEverest (john-everest) said :
#4

Hello Mauricio,
                         Thank you, your English explanation is very good.
Now Lazarus is working

Kind regards
JohnEv

Revision history for this message
aidave (aidave) said :
#5

This works in Hardy now, but when you try to build anything, you get this:

/tmp/project1.lpr(1,1) Fatal: Can't find unit URIParser used by XMLRead

Revision history for this message
montasser (salim-montasser-googlemail) said :
#6

sudo apt-get install fpc
sudo apt-get install fpc-source

will solve the problem

Revision history for this message
MasterProg (masterprog) said :
#7

It works, but these packages should be installed at once with lazarus. Has anyone reported this?

Revision history for this message
XTudo - Robson Fernando (xtudo) said :
#8

other fix:

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