How to install on 64 bits system?

Asked by The Techie

Hi there ppl!

I've tried recently install gloobus-preview on my mandriva 2010 64 bits (from source), but, to my surprise, it always fails, because somewhere in the ./configure step it tells me that cannot find gtk+-2.0 (but the fact is, I DO HAVE it in the system! And version 2.18, I think).
I guess this error is occurring because of some sort of incompatibility because of the core system being 64 bits.

So my question is, how do I install gloobus-preview on my system? Or is this issue a bug itself?

PS: Unlike ubuntu, mandriva separates installed packages that are 32 and 64 bits respectively (it means that, in ubuntu, /usr/lib64 is nothing more than a "brigde" to go to /usr/lib, but, in mandriva, those two means differents paths, one is not a hyper link to the other).

Question information

Language:
English Edit question
Status:
Answered
For:
gloobus-preview Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alexandr Grigorcea (cahr-gr) said :
#1

do you have *-devel packages of gtk installed? you need them for compilation

Revision history for this message
The Techie (the-techie) said :
#2

I've installed the lib64devel packages but no luck...
And, I can't install the gtk+2.0 devel packages because they are 32 bits, and they conflict with the 64 bits libs in the system

Revision history for this message
Alexandr Grigorcea (cahr-gr) said :
#3

don't you think it is better to ask about gtk software compilation on mandriva support forum? As I know nobody of Gloobus developers uses Mandriva. On ArchLinux compilation goes just fine, on Ubuntu there is libgtk2.0-dev amd64 package and no problem with compilation
I can see here that there is a lib64gtk2.0 package
http://www.mandriva.com/en/security/advisories?name=MDVA-2010:157
so I suppose you are doing something wrong ( wrong package name? )

Revision history for this message
The Techie (the-techie) said :
#4

The fact is, there IS a package with similar name but reasons that I don't know it does not install no matter what.
I asked here because it could be the GTK_CFLAGS and/or GTK_LIBS flags misconfigured or something....
I'll try to solve on my own.

PS: BTW, I had no idea that no one used mandriva.

Revision history for this message
Alexandr Grigorcea (cahr-gr) said :
#5

it does compiles even on fedora
http://rpm.pbone.net/index.php3/stat/4/idpl/13736979/dir/fedora_13/com/gloobus-preview-debuginfo-0.4.1-5.fc13.x86_64.rpm.html
<http://rpm.pbone.net/index.php3/stat/4/idpl/13736979/dir/fedora_13/com/gloobus-preview-debuginfo-0.4.1-5.fc13.x86_64.rpm.html>
http://cvs.fedoraproject.org/viewvc//rpms/gloobus-preview/F-13/gloobus-preview.spec?view=markup
<http://cvs.fedoraproject.org/viewvc//rpms/gloobus-preview/F-13/gloobus-preview.spec?view=markup>I
don't think it is a flags problem

you just need to install a long list of dependencies

On Sat, Jun 19, 2010 at 4:46 PM, The Techie <
<email address hidden>> wrote:

> Question #112834 on gloobus-preview changed:
> https://answers.launchpad.net/gloobus-preview/+question/112834
>
> Status: Answered => Open
>
> The Techie is still having a problem:
> The fact is, there IS a package with similar name but reasons that I don't
> know it does not install no matter what.
> I asked here because it could be the GTK_CFLAGS and/or GTK_LIBS flags
> misconfigured or something....
> I'll try to solve on my own.
>
> PS: BTW, I had no idea that no one used mandriva.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
The Techie (the-techie) said :
#6

Got tired of installing/cleaning/trying process. It's just time consuming and leads me to nowhere.
Thanks for the replies of trying to solve the problem though

Revision history for this message
The Techie (the-techie) said :
#7

Oh btw, I cannot get the setup.py to work no matter what (it is supposed to be exec directly? Or not?)

Revision history for this message
Alexandr Grigorcea (cahr-gr) said :
#8

setup.py ???
./autogen.sh
make
make install (or, sudo make install, if you use sudo)

Revision history for this message
The Techie (the-techie) said :
#9

Ok now I tried to install by install-sh, BUT, for reasons that I don't know how to install it, since, as said on the readme, run the chmod command (for obvious reasons) and then execute install-sh, but always says that "No input file specified".
I just followed the instructions, nothing else...

PS: Autogen? Do you mean install-sh?

Revision history for this message
Alexandr Grigorcea (cahr-gr) said :
#10

screw readme :D something wrong there
do this:
download this file
http://pastebin.com/7bKYSiij
and save it somewhere as noloaders.patch
open console and run
$ bzr branch lp:gloobus-preview
$ cd gloobus-preview
$ patch -Np1 -i /path/to/noloaders.patch
$ ./autogen.sh
$ make
$ sudo make install

remember before doing this you need to install bazaar and all packages from
this list:
libgtk2.0-dev
libgstreamer-plugins-base0.10-dev
libcairomm-1.0-dev
libtag1-dev
libpoppler-glib-dev
libgnomeui-dev
libgtksourceview2.0-dev
libspectre-dev
libdjvulibre-dev
libswfdec-0.8-dev
libbz2-dev
libdbus-glib-1-dev

obviously package names may be slightly different in mandriva repositories
if you have errors, post them here

and good luck :D

On Sat, Jun 19, 2010 at 7:20 PM, The Techie <
<email address hidden>> wrote:

> Question #112834 on gloobus-preview changed:
> https://answers.launchpad.net/gloobus-preview/+question/112834
>
> The Techie posted a new comment:
> Ok now I tried to install by install-sh, BUT, for reasons that I don't know
> how to install it, since, as said on the readme, run the chmod command (for
> obvious reasons) and then execute install-sh, but always says that "No input
> file specified".
> I just followed the instructions, nothing else...
>
> PS: Autogen? Do you mean install-sh?
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
The Techie (the-techie) said :
#11

Nope, just forget it. For some reason some of the packages just won't install because it says that they depend of older packages, and, even using the --force option on urpmi, it will not work.
I'll just wait for 2010.0 and see if something changes.

For the time being I have a machine that is going to be installed the latest ubuntu. I'll install there and give it a try.

Can you help with this problem?

Provide an answer of your own, or ask The Techie for more information if necessary.

To post a message you must log in.