Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1
  • 2

TOPIC:

Installation fails under Ubuntu 12.04 [opened] 11 years 9 months ago #3311

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
The subject...
Could anyone help me?
Installation log attached.

File Attachment:

File Name: log.txt
File Size:4,419 KB
コンソールマニアック
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3314

  • zeljko
  • zeljko's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
I had a problem with debian until not i installed the FPC 2.4.0

Please Log in or Create an account to join the conversation.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3322

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
But a host OS supposed to be "clean", doesn't it?
Anyway, I'll try, thanks for suggestion!



Nope, it didn't work... So purged fpc 2.4

But I think I've found smth:
7-Zip (A) 9.04 beta  Copyright (c) 1999-2009 Igor Pavlov  2009-05-30
p7zip Version 9.04 (locale=ru_RU.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: /usr/lib/codetyphon/allzips/binfpc/zmsg-i386-linux.7z

Extracting  msg/errorct.msg
Extracting  msg/errord.msg
Extracting  msg/errorda.msg
Extracting  msg/errordu.msg
Extracting  msg/errore.msg
Extracting  msg/errores.msg
Extracting  msg/errorf.msg
Extracting  msg/errorfi.msg
Extracting  msg/errorhe.msg
Extracting  msg/errorheu.msg
Extracting  msg/errorid.msg
Extracting  msg/erroriu.msg
Extracting  msg/errorn.msg
Extracting  msg/errorpl.msg
Extracting  msg/errorpli.msg
Extracting  msg/errorpt.msg
Extracting  msg/errorptd.msg
Extracting  msg/errorptu.msg
Extracting  msg/errorptw.msg
Extracting  msg/errorr.msg
Extracting  msg/errorru.msg
Extracting  msg/errorrw.msg
Extracting  msg/errorues.msg

Everything is Ok

Files: 23
Size:       3949101
Compressed: 400311
sudo: неверный ключ — «f»
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
            name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
            user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
            user name|#uid] file ...
sudo: неверный ключ — «f»
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
            name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
            user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
            user name|#uid] file ...

Where should I look to delete that -f option?
Ok, found one occurrence. Please, tell me what is this:
sudo -f ln -s $vfpcexedir/$vfpcexec $vfpcrundir/$vfpcexec
sudo -f ln -s $vfpcexedir/$vfpcexec $vfpcrundir/fpc$vbits

Sudo in ubuntu 12.04.1 do not know about -f option, as you can see above...
Maybe it would be better to support an LTS issue rather than common one?




Warning: Spoiler!
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3323

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Here I tried to install under Linux Mint 13 just to be sure that it's not me or my OS settings.
This Linux Mint is absolutely clean!
I installed it under VBox just a couple hours ago.
I DID install system libraries before trying to build.

So now I'm sure that's not me (or not just me) and the question is:
What should I do/have to build CT under ubuntu 12.04.1 ? (See log in the previous post)
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3326

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir, the problem is in fpc build IDE procedure
the FPC try to link libgdb.a in to FPC IDE
but with errors


make[4]: Выход из каталога `/usr/lib/codetyphon/fpcsrc/ide'
make fpc_all
make[4]: Вход в каталог `/usr/lib/codetyphon/fpcsrc/ide'
Makefile:289: Using system default libgdb file located in /usr/lib/libgdb.a
/usr/lib/codetyphon/fpcsrc/compiler/ppc386 -di386 -Fl/usr/lib/codetyphon/fpcsrc/libgdb/linux -Ur -Xs -O2 -n -Sg -Fu/usr/lib/codetyphon/fpcsrc/rtl/units/i386-linux -Fu/usr/lib/codetyphon/fpcsrc/packages/fv/units/i386-linux -Fu/usr/lib/codetyphon/fpcsrc/packages/gdbint/units/i386-linux -Fu/usr/lib/codetyphon/fpcsrc/packages/regexpr/units/i386-linux -Fu/usr/lib/codetyphon/fpcsrc/packages/fcl-base/units/i386-linux -Fu/usr/lib/codetyphon/fpcsrc/packages/iconvenc/units/i386-linux -Fu/usr/lib/codetyphon/fpcsrc/packages/fcl-xml/units/i386-linux -Fu/usr/lib/codetyphon/fpcsrc/packages/chm/units/i386-linux -FE. -FUunits/i386-linux -Fl/usr/lib/gcc/i686-linux-gnu/4.6 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -Fl/opt/BitDefender-scanner/var/lib/ -dRELEASE fp.pas
/usr/bin/ld: warning: ./link.res contains output sections; did you forget -T?
/usr/lib/codetyphon/fpcsrc/packages/gdbint/units/i386-linux/gdbint.o: In function `GDBINT$_$TGDBINTERFACE_$__$$_GDB__INIT':
gdbint.pp:(.text+0x108d): undefined reference to `deprecated_create_breakpoint_hook'
/usr/lib/codetyphon/fpcsrc/packages/gdbint/units/i386-linux/gdbint.o: In function `GDBINT$_$TGDBINTERFACE_$__$$_GDB_DONE':
gdbint.pp:(.text+0x10e0): undefined reference to `deprecated_create_breakpoint_hook'
/usr/lib/codetyphon/fpcsrc/packages/gdbint/units/i386-linux/gdbint.o: In function `GDBINT_$$_INITLIBGDB':
gdbint.pp:(.text+0x1adb): undefined reference to `uiout'
/usr/lib/libgdb.a(varobj.o): In function `instantiate_pretty_printer':
(.text+0xcaa): undefined reference to `PyObject_CallFunctionObjArgs'
/usr/lib/libgdb.a(varobj.o): In function `dynamic_varobj_has_child_method':
(.text+0x103a): undefined reference to `PyObject_HasAttr'
/usr/lib/libgdb.a(varobj.o): In function `update_dynamic_varobj_children':


we don't see this error again
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3328

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Thanks for reply, sternas!

sternas wrote: we don't see this error again

You mean you can't reproduce this?
What should I do?
What version of libgdb do I need?

Also, under Mint 13 I have this:
Warning: Spoiler!


Thanks in advance!
コンソールマニアック

Please Log in or Create an account to join the conversation.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3329

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
my suggestion is to use the latest Ubuntu 12.10 or Linux Mint 14.
or wait for new ver to fix this
or install an older CT version.

Oh, this is NOT CodeTyphon problem it's FreePascal bug
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3330

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Warning: Spoiler!

But, despite all above, I asked 1 simple question: What version of libgdb do I need?
FPC devs think that this is GBD issue. They always did. Now is the 4th time this happens.

I assume that 12.10 have the appropriate version of GDB (You've tested on it and it worked, right?).
Then just tell me your version and I'll download it and the other stuff I would need alongside.
コンソールマニアック

Please Log in or Create an account to join the conversation.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3331

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Checked in the repos: 12.04 has the same version as the 12.10, namely 7.4-2012.04-0ubuntu2.1
Installed that, but FPC still refuses to be built.

Maybe it's not about libgdb, but some other library it depends on?
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3332

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
For test
replace makefiles in
codetyphon/fpcsrc/ide

with these in the zip file
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3333

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Thanks for your concern!
Here what I've got after replacement:

File Attachment:

File Name: fpconly.txt
File Size:1,259 KB


File Attachment:

File Name: removebuildall.txt
File Size:4,358 KB



First one (used option #4) believes there's no libgdb.a installed (which isn't true),
while second (used option #8) still uses system libgdb.a (it seems that it have replaced files I had replaced)
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3334

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
So, it's OK now ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3335

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
No.
System libgdb still have undefined callbacks and how that can be "ok" if it the second log I attached has lines like this:
/usr/lib/libgdb.a(symtab.o): In function `maybe_add_partial_symtab_filename':
(.text+0x6a74): undefined reference to `filename_ncmp'
/usr/lib/libgdb.a(symtab.o): In function `maybe_add_partial_symtab_filename':
(.text+0x6b15): undefined reference to `filename_ncmp'
/usr/lib/libgdb.a(symtab.o): In function `make_source_files_completion_list':
(.text+0x6c59): undefined reference to `filename_ncmp'
/usr/lib/libgdb.a(symtab.o): In function `make_source_files_completion_list':
(.text+0x6ce6): undefined reference to `filename_ncmp'
/usr/lib/libgdb.a(symfile.o): In function `find_separate_debug_file':
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3336

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
did you replace the makefiles in the /codetyphon/fpcsrc/ide/ folder ?
did you build CT bigIDE after makefiles files replacement ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3337

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Sir, did you read my previous posts?

4aiman wrote: Thanks for your concern!
Here what I've got after replacement:

File Attachment:

File Name: fpconly.txt
File Size:1,259 KB


File Attachment:

File Name: removebuildall.txt
File Size:4,358 KB



First one (used option #4) believes there's no libgdb.a installed (which isn't true),
while second (used option #8) still uses system libgdb.a (it seems that it have replaced files I had replaced)

コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3344

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
I got it installed under 12.04!
The problem with new makefiles is that I had to run manually only build scripts. Selecting option #8 from installation menu results in FPC folder clearing.

It would be nice to have an option "Rebuild" for both FPC and Lazarus just for cases like this.
Anyway, I launched the #8 option, and once I spotted that my files (I mean your files) were replaced, I replaced them again. Installation script was running and I barely made it in time.

Also I installed Lazarus from the repos while I was unaware of installer tendency to overwrite my files. Don't know whether that affected my installation or not, but fpc from repos was not found after installation and Lazarus from repos refused to actually work.

Thanks for your help, sternas. I hope that this fix of yours will make it possible to support 12.04 for all it's lifespan.
コンソールマニアック

Please Log in or Create an account to join the conversation.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3351

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
we will put this fix to Rolling release
in codetyphon/allzips/src/fpc_src_mod.7z
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3356

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
offtopic:
How one can use those "Rolling" updates/releases?
コンソールマニアック

Please Log in or Create an account to join the conversation.

Installation fails under Ubuntu 12.04 + MATE 11 years 9 months ago #3363

  • Rain
  • Rain's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 71
  • Thank you received: 8
Update works via CodeTyphon Center:
Menu: Actions - Updatemanager
Updatemanager: Menu: Actions - Check for updates - Start Update ...
The following user(s) said Thank You: FredyCC

Please Log in or Create an account to join the conversation.

Installation fails under Ubuntu 12.04 [SOLVED] 11 years 9 months ago #3364

  • Marius
  • Marius's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 1
Does Update Manager works with a Proxy Server (very common work scenario)? I can't update because there is no way for me to enter the proxy settings.
Please help. Thank you.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2