Sign in Join

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

Mailing lists / lazarus / 2003-03

make or no interfaces

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Unknown author

Hi!

Before I used this script:
#!/bin/bash
export
cvs login
cvs -z3 co -r FIXES_1_0_0 fpc
cvs -z3 co lazarus

It worked in some day, but later doesn't. I tried it about 4 different days. Than I deleted all the contents of /root/lazarus (yes, I'm always root.) and the script downloaded all things again. But I was not able to make it.

rima:~/lazarus# make
make: execvp: /bin/fpc: Permission denied
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
Makefile:153: *** The Makefile doesn't support target , please run fpcmake first. Stop.
rima:~/lazarus# fpcmake
Opening internal ini
Reading Makefile.fpc
Writing Makefile
rima:~/lazarus# make
make --assume-new=lazarus.pp lazarus
make[1]: Entering directory `/root/lazarus'
ppc386 -di386 lazarus.pp
Free Pascal Compiler version 1.0.7 [2003/02/18] for i386 Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Linux for i386
Compiling lazarus.pp
lazarus.pp(37,2) Fatal: Can't open include file ide.inc make[1]: *** [lazarus] Error 1
make[1]: Leaving directory `/root/lazarus'
make: *** [ide] Error 2
rima:~/lazarus#

You can see I have ide.inc:
/bin/lazarus/include/ide.inc
/root/lazarus/include/ide.inc

I downloaded binary an overwrite /root/lazarus. Fine, lazarus starts. But says "Can't find unit INTERFACES". Interesting since tooltip and find declaration works fine.

lazarus dir: /root/lazarus
Compiler path: /usr/bin/ppc386
fpc source: /root/fpc
gnu dbg: /usr/bin/gdb

run/compiler options:
Other unit files:
$(LazarusDir)/lcl/units;$(LazarusDir)/lcl/units/$(LCLWidgetType) Other sourec:
$(LazarusDir)/lcl;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType) Path to compiler: $(CompPath)
It is interesting because last time I changed $(LazarusDir) to /root/lazarus nad
$(LCLWidgetType) to gtk and of coure $(CompPath) to /usr/bin/ppc386

----
Kylix:
/usr/local/kylix3/bin/transdlg: error while loading shared libraries: libXaw.so.6: cannot open shared object file: No such file or directory LC_ALL is set to C. Can't start Kylix.

What is libXaw.so.6 and LC_ALL?
I have:
/usr/X11R6/lib/libXaw.so.7
/usr/X11R6/lib/libXaw.so.7.0

I would like a working programming environment.

Reply by email

Mattias Gaertner
to Unknown author
Show quoted text 17 lines
Hi! Before I used this script: #!/bin/bash export cvs login cvs -z3 co -r FIXES_1_0_0 fpc cvs -z3 co lazarus It worked in some day, but later doesn't. I tried it about 4 different days. Than I deleted all the contents of /root/lazarus (yes, I'm always root.) and the script downloaded all things again. But I was not able to make it. rima:~/lazarus# make make: execvp: /bin/fpc: Permission denied

Did you found out, why you get this permission problem? How did you install fpc?

Mattias

Show quoted text 66 lines
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 Makefile:153: *** The Makefile doesn't support target , please run fpcmake first. Stop. rima:~/lazarus# fpcmake Opening internal ini Reading Makefile.fpc Writing Makefile rima:~/lazarus# make make --assume-new=lazarus.pp lazarus make[1]: Entering directory `/root/lazarus' ppc386 -di386 lazarus.pp Free Pascal Compiler version 1.0.7 [2003/02/18] for i386 Copyright (c) 1993-2003 by Florian Klaempfl Target OS: Linux for i386 Compiling lazarus.pp lazarus.pp(37,2) Fatal: Can't open include file ide.inc make[1]: *** [lazarus] Error 1 make[1]: Leaving directory `/root/lazarus' make: *** [ide] Error 2 rima:~/lazarus# You can see I have ide.inc: /bin/lazarus/include/ide.inc /root/lazarus/include/ide.inc I downloaded binary an overwrite /root/lazarus. Fine, lazarus starts. But says "Can't find unit INTERFACES". Interesting since tooltip and find declaration works fine. lazarus dir: /root/lazarus Compiler path: /usr/bin/ppc386 fpc source: /root/fpc gnu dbg: /usr/bin/gdb run/compiler options: Other unit files: $(LazarusDir)/lcl/units;$(LazarusDir)/lcl/units/$(LCLWidgetType) Other sourec: $(LazarusDir)/lcl;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType) Path to compiler: $(CompPath) It is interesting because last time I changed $(LazarusDir) to /root/lazarus nad $(LCLWidgetType) to gtk and of coure $(CompPath) to /usr/bin/ppc386 ---- Kylix: /usr/local/kylix3/bin/transdlg: error while loading shared libraries: libXaw.so.6: cannot open shared object file: No such file or directory LC_ALL is set to C. Can't start Kylix. What is libXaw.so.6 and LC_ALL? I have: /usr/X11R6/lib/libXaw.so.7 /usr/X11R6/lib/libXaw.so.7.0 I would like a working programming environment. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email