LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2007, 08:01 AM   #1
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Rep: Reputation: 15
Smile Installing Lazarus


Im following these instructions to install Lazarus
http://www.howtoforge.com/lazarus_ubuntu

2 things are not working:
1) this didnt work, so I skipped this part
Code:
if all ok then you can get compiler version this way

/opt/fpc/bin/fpc -i

Free Pascal Compiler version 2.0.0

Compiler Date : 2005/05/15
Compiler CPU Target: x86_64

Supported targets:
 Linux for x86-64
 FreeBSD for x86-64

Supported CPU instruction sets:
 ATHLON64

Supported FPU instruction sets:
 SSE64

add /opt/fpt/bin in $PATH

vi ~/.bash_profile

#FPC PATH

if [ -d /opt/fpc/bin ] ; then
 PATH=/opt/fpc/bin:"${PATH}"
fi
2)I installed the development packages and downloaded lazarus package but when I command
Code:
make
i get
Code:
user@adminPC:~/lazarus$ make
make: -iVSPTPSOTO: Command not found
make: -iSP: Command not found
make: -iTP: Command not found
make: -iSO: Command not found
make: -iTO: Command not found
make -C ide ide
make[1]: -iSP: Command not found
make[1]: Entering directory `/home/user/lazarus/ide'
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make --assume-new=../lazarus.exe lazarus.exe
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: Entering directory `/home/user/lazarus/ide'
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
FE. -FUunits/-  lazarus.pp
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: FE.: Command not found
make[2]: [lazarus.exe] Error 127 (ignored)
make[2]: Leaving directory `/home/user/lazarus/ide'
make[1]: Leaving directory `/home/user/lazarus/ide'
make -C ide starter
make[1]: -iSP: Command not found
make[1]: Entering directory `/home/user/lazarus/ide'
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make --assume-new=../startlazarus.exe startlazarus.exe
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: Entering directory `/home/user/lazarus/ide'
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
FE. -FUunits/-  startlazarus.lpr
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: FE.: Command not found
make[2]: [startlazarus.exe] Error 127 (ignored)
make[2]: Leaving directory `/home/user/lazarus/ide'
make[1]: Leaving directory `/home/user/lazarus/ide'
I couldnt continue
please help...
what should I do?
 
Old 06-30-2007, 08:03 AM   #2
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
I am using Kubuntu 7
 
Old 06-30-2007, 11:34 AM   #3
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
I Downloaded Lazarus at the bottom of the list
http://sourceforge.net/project/showf...ease_id=496866

then did
sudo dpkg -i lazarus_0.9.22-1_i386.deb

I got this... whats wrong?

Code:
user@adminPC:~$ sudo dpkg -i /home/user/Downloads/lazarus_0.9.22-1_i386.deb
Selecting previously deselected package lazarus.
(Reading database ... 82383 files and directories currently installed.)
Unpacking lazarus (from .../lazarus_0.9.22-1_i386.deb) ...
dpkg: dependency problems prevent configuration of lazarus:
 lazarus depends on fp-compiler (>= 2.0.4); however:
  Package fp-compiler is not installed.
 lazarus depends on fpc-src (>= 2.0.4); however:
  Package fpc-src is not installed.
 lazarus depends on fp-ide (>= 2.0.4); however:
  Package fp-ide is not installed.
 lazarus depends on fp-units-base (>= 2.0.4); however:
  Package fp-units-base is not installed.
 lazarus depends on fp-units-db (>= 2.0.4); however:
  Package fp-units-db is not installed.
 lazarus depends on fp-units-fcl (>= 2.0.4); however:
  Package fp-units-fcl is not installed.
 lazarus depends on fp-units-fv (>= 2.0.4); however:
  Package fp-units-fv is not installed.
 lazarus depends on fp-units-gfx (>= 2.0.4); however:
  Package fp-units-gfx is not installed.
 lazarus depends on fp-units-gnome1 (>= 2.0.4); however:
  Package fp-units-gnome1 is not installed.
 lazarus depends on fp-units-gtk (>= 2.0.4); however:
  Package fp-units-gtk is not installed.
 lazarus depends on fp-units-gtk2 (>= 2.0.4); however:
  Package fp-units-gtk2 is not installed.
 lazarus depends on fp-units-misc (>= 2.0.4); however:
  Package fp-units-misc is not installed.
 lazarus depends on fp-units-net (>= 2.0.4); however:
  Package fp-units-net is not installed.
 lazarus depends on fp-units-rtl (>= 2.0.4); however:
  Package fp-units-rtl is not installed.
 lazarus depends on fp-utils (>= 2.0.4); however:
  Package fp-utils is not installed.
dpkg: error processing lazarus (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 lazarus
user@adminPC:~$
 
Old 07-01-2007, 12:41 AM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
"Lazarus" is a graphical IDE for developing programs in Free Pascal.

To use Lazarus, you need the FP compiler. Your error messages indicate that you don't have it (or at least, that Lazarus can't find it).

You also need to install the GTK/GDK graphics libraries.

All of these requirements are cited in the link you quoted. Try re-installing, one step at a time:

a) Install Free Pascal (and make sure you can use it from the command line)
b) Install GTK/GDK and verify they're OK
c) Finally, try installing Lazarus again

'Hope that helps .. PSM
 
Old 07-01-2007, 06:47 AM   #5
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by paulsm4
"Lazarus" is a graphical IDE for developing programs in Free Pascal.

To use Lazarus, you need the FP compiler. Your error messages indicate that you don't have it (or at least, that Lazarus can't find it).

You also need to install the GTK/GDK graphics libraries.

All of these requirements are cited in the link you quoted. Try re-installing, one step at a time:

a) Install Free Pascal (and make sure you can use it from the command line)
b) Install GTK/GDK and verify they're OK
c) Finally, try installing Lazarus again

'Hope that helps .. PSM
but the problem is I did install Free Pascal Library... or at least I extracted it and did sudo sh install.sh
how can I make Lazarus Find it...........
 
Old 07-01-2007, 06:52 AM   #6
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
Im following the instructions of the following link
http://www.howtoforge.com/lazarus_ubuntu

so I downloaded the library and installed it

n the above tut
he says, f all ok then you can get compiler version this way

/opt/fpc/bin/fpc -i

if I do that in a terminal I get:
Code:
user@adminPC:~$ /opt/fpc/bin/fpc -i
bash: /opt/fpc/bin/fpc: cannot execute binary file
user@adminPC:~$
why?
 
Old 07-05-2007, 01:49 PM   #7
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
that didnt do anything I guess
Code:
user@adminPC:~$ sudo chmod a+x /opt/fpc/bin/fpc
user@adminPC:~$ sudo /opt/fpc/bin/fpc -i
/opt/fpc/bin/fpc: 1: Syntax error: Unterminated quoted string
user@adminPC:~$
what should I do?
thank you
 
Old 07-05-2007, 04:02 PM   #8
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
Open synaptic or adept, search for free pascal, select the fp files you need, install them.

then install lazarus.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Lazarus: Pascal and Delphi Rise Again LXer Syndicated Linux News 0 05-11-2007 05:16 PM
FPC and Lazarus on slack mirto Slackware 4 10-18-2006 10:55 AM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 03:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 03:15 AM
FPC and Lazarus on slack mirto Linux - Software 1 08-15-2005 01:07 PM


All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration