Advanced Search

Author Topic: Marcion  (Read 23867 times)

04 May , 2010, 02:08:21 pm
Reply #30

Offline Admin

  • Administrator

  • *****

  • 1074
    Posts

    • Ⲧⲉⲛⲁⲥⲡⲓ
Re: Marcion
« Reply #30 on: 04 May , 2010, 02:08:21 pm »
Quote
mina@LT015 ~/Desktop/x/marcion $ ./marcion
./marcion: /lib/libc.so.6: version `GLIBC_2.10' not found (required by ./marcion)

04 May , 2010, 07:33:52 pm
Reply #31

Offline vagrant

  • Jr. Member

  • **

  • 88
    Posts

Re: Marcion
« Reply #31 on: 04 May , 2010, 07:33:52 pm »
this is problem, try to upgrade glibc on actual version, i will compile new executable with glibc statically linked. please send me output of
Code: [Select]
ldd marcion
maybe there are also other unsatisfied dependencies

05 May , 2010, 12:21:00 pm
Reply #32

Offline Admin

  • Administrator

  • *****

  • 1074
    Posts

    • Ⲧⲉⲛⲁⲥⲡⲓ
Re: Marcion
« Reply #32 on: 05 May , 2010, 12:21:00 pm »
./marcion: /lib/libc.so.6: version `GLIBC_2.10' not found (required by ./marcion)
   linux-gate.so.1 =>  (0xb7f55000)
   libbz2.so.1 => /lib/libbz2.so.1 (0xb7f1f000)
   libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7eed000)
   libnsl.so.1 => /lib/libnsl.so.1 (0xb7ed5000)
   libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7eaf000)
   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7e71000)
   libSM.so.6 => /usr/lib/libSM.so.6 (0xb7e67000)
   libICE.so.6 => /usr/lib/libICE.so.6 (0xb7e4c000)
   libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7e42000)
   libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7e14000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7d8b000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0xb7d7b000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0xb7c81000)
   libdl.so.2 => /lib/libdl.so.2 (0xb7c7d000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7c77000)
   librt.so.1 => /lib/librt.so.1 (0xb7c6e000)
   libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7b91000)
   libpthread.so.0 => /lib/libpthread.so.0 (0xb7b78000)
   libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6 (0xb7a88000)
   libm.so.6 => /lib/libm.so.6 (0xb7a62000)
   libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1 (0xb7a54000)
   libc.so.6 => /lib/libc.so.6 (0xb7908000)
   libz.so.1 => /lib/libz.so.1 (0xb78f3000)
   libuuid.so.1 => /lib/libuuid.so.1 (0xb78ed000)
   libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb78c5000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0xb78c1000)
   libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb78bb000)
   /lib/ld-linux.so.2 (0xb7f56000)

06 May , 2010, 02:06:37 am
Reply #33

Offline vagrant

  • Jr. Member

  • **

  • 88
    Posts

Re: Marcion
« Reply #33 on: 06 May , 2010, 02:06:37 am »
static linking of glibc seems be a little complicated, there are many suspicious warnigs and conflicts. rather try this:

download attached file into marcion's root folder (into the same folder where is executable, ~/Desktop/x/marcion), unzip and run with variable LD_LIBRARY_PATH pointed to this folder

Code: [Select]
cd ~/Desktop/x/marcion
unzip libc210.zip
LD_LIBRARY_PATH=. ./marcion

btw. gentoo can be upgraded on 2.10
http://gentoo-portage.com/sys-libs/glibc
http://www.gentoo.org/doc/en/new-upgrade-to-gentoo-1.4.xml

maybe best way is
Code: [Select]
emerge glibc
« Last Edit: 06 May , 2010, 07:15:24 am by vagrant »

06 May , 2010, 06:34:13 pm
Reply #34

Offline Admin

  • Administrator

  • *****

  • 1074
    Posts

    • Ⲧⲉⲛⲁⲥⲡⲓ
Re: Marcion
« Reply #34 on: 06 May , 2010, 06:34:13 pm »
mina@LT015 ~/Desktop/x/marcion $ LD_LIBRARY_PATH=. ./marcion
Segmentation fault
I am sure that glibc is installed it required for linux to function

06 May , 2010, 07:03:08 pm
Reply #35

Offline vagrant

  • Jr. Member

  • **

  • 88
    Posts

Re: Marcion
« Reply #35 on: 06 May , 2010, 07:03:08 pm »
thats bad. i must think how i can solve it. every application with statically linked against glibc ends with segfault. which version of glibc you exactly have? detect it by
Code: [Select]
/lib/libc.so.6and i will compile this version in my environment, and prepare new package. but upgrading glibc is much better for you than this.
(dont forget that
Code: [Select]
emerge glibc not only install package, but also upgrade)
« Last Edit: 07 May , 2010, 03:23:28 am by vagrant »

09 May , 2010, 12:43:02 pm
Reply #36

Offline Admin

  • Administrator

  • *****

  • 1074
    Posts

    • Ⲧⲉⲛⲁⲥⲡⲓ
Re: Marcion
« Reply #36 on: 09 May , 2010, 12:43:02 pm »
I am afraid that upgrading my glibc from glibc-2.11-r1 to glibc-2.9_p20081201-r1 will break the other installed software (my entire system) :S

09 May , 2010, 08:36:44 pm
Reply #37

Offline vagrant

  • Jr. Member

  • **

  • 88
    Posts

Re: Marcion
« Reply #37 on: 09 May , 2010, 08:36:44 pm »
thats weird - you say
Quote
from glibc-2.11-r1 to glibc-2.9_p20081201-r1
but this mean downgrade, not upgrade - i think you need version 2.10 and higher. You probably mean from 2.9 to 2.11. in that case i make executable against 2.9 (which you probably have) and problem is solved.

10 May , 2010, 01:33:09 pm
Reply #38

Offline Admin

  • Administrator

  • *****

  • 1074
    Posts

    • Ⲧⲉⲛⲁⲥⲡⲓ
Re: Marcion
« Reply #38 on: 10 May , 2010, 01:33:09 pm »
I think the idea of having a program that needs no compilation is weird, most open source software provides the source code and let you compile it
i think the problem with Marcion is that, it require you to either download everything (include books that you might not need and stuff like that) or nothing at all
I suggest that you provide very small program that gives you basic functionality (As a dictionary) and provide a from called "Library" where users can choose the books they want to download

11 May , 2010, 12:57:39 am
Reply #39

Offline vagrant

  • Jr. Member

  • **

  • 88
    Posts

Re: Marcion
« Reply #39 on: 11 May , 2010, 12:57:39 am »
 ??? i have all EXACTLY as you said  :-o-o-: - + many software is distributed as "dynamic" and "static" package, where important libraries are linked as static and shared, skype for example. your only problem is, you have not scons functional. so i make scripts for cmake build system also. by this way is distributed battle for wesnoth, which uses for build typical gnu utils, scons and cmake.

18 May , 2010, 10:02:21 pm
Reply #40

Offline vagrant

  • Jr. Member

  • **

  • 88
    Posts

Re: Marcion
« Reply #40 on: 18 May , 2010, 10:02:21 pm »
so, after some fighting with cmake, there are sources prepared in svn repository, follow instructions here

http://sourceforge.net/apps/mediawiki/marcion/index.php?title=Marcion_eng#SVN

now it works also with qt 4.5, and globally is easier building+installing. if it will works, i soon prepare also source package and sources of mani by the same way

20 May , 2010, 04:05:41 am
Reply #41

Offline vagrant

  • Jr. Member

  • **

  • 88
    Posts

Re: Marcion
« Reply #41 on: 20 May , 2010, 04:05:41 am »
and this is what you want from beginning, only coptic dictionary without anything else as source package.

download here

follow instructions here
« Last Edit: 20 May , 2010, 04:08:35 am by vagrant »

25 May , 2010, 01:17:55 am
Reply #42

Offline Admin

  • Administrator

  • *****

  • 1074
    Posts

    • Ⲧⲉⲛⲁⲥⲡⲓ
Re: Marcion
« Reply #42 on: 25 May , 2010, 01:17:55 am »
the compiler insists to link to djvu library that I don't have
I don't know why would it want to link to djvu if "mani" doesn't contain any books

25 May , 2010, 04:35:52 am
Reply #43

Offline vagrant

  • Jr. Member

  • **

  • 88
    Posts

Re: Marcion
« Reply #43 on: 25 May , 2010, 04:35:52 am »
this is because of printed crum, which is in djvu. install djvulibre in gentoo through

Code: [Select]
emerge djvu
alternatively download it here

unpack and execute

Code: [Select]
./configure && make && make install

26 May , 2010, 11:57:05 pm
Reply #44

Offline Admin

  • Administrator

  • *****

  • 1074
    Posts

    • Ⲧⲉⲛⲁⲥⲡⲓ
Re: Marcion
« Reply #44 on: 26 May , 2010, 11:57:05 pm »
i have it already installed
problem is
qdjview.h is missing