Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-11

Compiling lazarus

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

hjamilis

Hi,

I am trying to have a working Lazarus on linux (Mandrake 8.0).

I downloaded fpc from the lazarus page, and the sources via CVS.

I tried Make on the lazarus directory and I get:

Lazarus]# make all
make -C lcl all
make[1]: Cambiando a directorio `/desar/Lazarus/lcl' /bin/rm -f units/allunits.ppu
/usr/bin/ppc386 -gl -Fuinterfaces/abstract -Fu. -Fu/usr/lib/fpc/1.0.7/units/linux/rtl -Fu/usr/lib/fpc/1.0.7/units/linux/paszlib -Fu/usr/lib/fpc/1.0.7/units/linux/inet -Fu/usr/lib/fpc/1.0.7/units/linux/fcl -Fu/usr/lib/fpc/1.0.7/units/linux/mysql -Fu/usr/lib/fpc/1.0.7/units/linux/ibase -Fiinclude -FUunits -Fl. -Fl/usr/X11R6/lib -di386 allunits.pp Free Pascal Compiler version 1.0.7 [2002/09/21] for i386 Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling allunits.pp
Compiling interfacebase.pp
Compiling lclstrconsts.pas
Writing Resource String Table file: units/lclstrconsts.rst Assembling lclstrconsts
lclstrconsts.pas(64) Error: Assembler as not found, switching to external assembling lclstrconsts.pas(64) Fatal: There were 1 errors compiling module, stopping Closing script ppas.sh
make[1]: *** [allunits.ppu] Error 1
make[1]: Saliendo directorio `/desar/Lazarus/lcl'
make: *** [lcl] Error 2

Whats wrong?

If I need to download something else, please let me know where to find it.

I tried also on Win32 without success.

Note: I have lazarus sources on a Fat32 drive, mounted on linux.

Thanks

Horacio

Reply by email

Tony Maro
to Shane Miller: Tony, I loaded up a new Mandrake 9 and tried this out and you are right, the binutils…
Shane Miller wrote 9 lines
Tony, I loaded up a new Mandrake 9 and tried this out and you are right, the binutils needs to be loaded to get the assembler. Then, you have to create a bunch of symbolic links to libX11.so.?.?, libgtk-??.so.?.?, etc. We should find a better way to do this. This is very confusing for people to have to create links to all these files. On Mandrake 9, I created all the link, ran lazarus and it crashed so now I need to determine if I linked to a wrong version of gtk or something.

MMmmm... During Mandrake install I just checked the "development" box and let Mandrake install all the RPM's automatically for me. After that I was pretty much ready to go to install FPC and Lazarus. I think there might have been a development library copy of pixbuf or something that was missing, but that's it.

-Tony

Reply by email

Shane Miller

Tony, I loaded up a new Mandrake 9 and tried this out and you are right, the binutils needs to be loaded to get the assembler. Then, you have to create a bunch of symbolic links to libX11.so.?.?, libgtk-??.so.?.?, etc. We should find a better way to do this. This is very confusing for people to have to create links to all these files.

On Mandrake 9, I created all the link, ran lazarus and it crashed so now I need to determine if I linked to a wrong version of gtk or something.

Shane

Earlier message 40 lines
-----Original Message----- From: Tony Maro Sent: Monday, November 18, 2002 2:31 PM To: Lazarus List Subject: Re: [lazarus] Compiling lazarus On Wed, 1969-12-31 at 14:59, hjamilis wrote: > Hi, > > I am trying to have a working Lazarus on linux (Mandrake 8.0). > > I downloaded fpc from the lazarus page, and the sources via CVS. I recommend instead that you grab the snapshots of FPC from the FPC FTP server. Check out my howto at: http://tony.maro.net/mod.php?mod=userpage&menu=1200&page_id=17 > Assembling lclstrconsts > lclstrconsts.pas(64) Error: Assembler as not found, switching to external assembling > lclstrconsts.pas(64) Fatal: There were 1 errors compiling module, stopping Looks like you don't have an assembler installed, and you'll need it. I'm betting when you installed Mandrake you did not install the "Development" options. On my Mandrake 9 it installed "as" as part of the "binutils" package. So, fire up your software manager and install binutils.[whatever].rpm from your Mandrake CD's. -Tony _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

andrew johnson
to Shane Miller

hmmm.. you shouldn't have had to create those symlinks manually. While haven't tried M.9 yet, I know that they are usually created by the devel packages. I am farely certain for proper behaviour, at least binutils, x11-devel, gtk-devel, & gdkpixbuf-devel(or whatever the names are) have to be installed(along with any other devel packages those require).

Andrew

Shane Miller wrote 57 lines
Tony, I loaded up a new Mandrake 9 and tried this out and you are right, the binutils needs to be loaded to get the assembler. Then, you have to create a bunch of symbolic links to libX11.so.?.?, libgtk-??.so.?.?, etc. We should find a better way to do this. This is very confusing for people to have to create links to all these files. On Mandrake 9, I created all the link, ran lazarus and it crashed so now I need to determine if I linked to a wrong version of gtk or something. Shane -----Original Message----- From: Tony Maro Sent: Monday, November 18, 2002 2:31 PM To: Lazarus List Subject: Re: [lazarus] Compiling lazarus On Wed, 1969-12-31 at 14:59, hjamilis wrote: > Hi, > > I am trying to have a working Lazarus on linux (Mandrake 8.0). > > I downloaded fpc from the lazarus page, and the sources via CVS. I recommend instead that you grab the snapshots of FPC from the FPC FTP server. Check out my howto at: http://tony.maro.net/mod.php?mod=userpage&menu=1200&page_id=17 > Assembling lclstrconsts > lclstrconsts.pas(64) Error: Assembler as not found, switching to external assembling > lclstrconsts.pas(64) Fatal: There were 1 errors compiling module, stopping Looks like you don't have an assembler installed, and you'll need it. I'm betting when you installed Mandrake you did not install the "Development" options. On my Mandrake 9 it installed "as" as part of the "binutils" package. So, fire up your software manager and install binutils.[whatever].rpm from your Mandrake CD's. -Tony _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Tony Maro
to hjamilis: I am trying to have a working Lazarus on linux (Mandrake 8.0). I downloaded fpc from the…
hjamilis wrote 5 lines
Hi, I am trying to have a working Lazarus on linux (Mandrake 8.0). I downloaded fpc from the lazarus page, and the sources via CVS.

I recommend instead that you grab the snapshots of FPC from the FPC FTP server. Check out my howto at:
http://tony.maro.net/mod.php?mod=userpage&menu=1200&page_id=17

Assembling lclstrconsts lclstrconsts.pas(64) Error: Assembler as not found, switching to external assembling lclstrconsts.pas(64) Fatal: There were 1 errors compiling module, stopping

Looks like you don't have an assembler installed, and you'll need it.

I'm betting when you installed Mandrake you did not install the "Development" options.

On my Mandrake 9 it installed "as" as part of the "binutils" package. So, fire up your software manager and install binutils.[whatever].rpm from your Mandrake CD's.

-Tony

Reply by email