I am trying to install this package Griffith on OpenSuse 12.1 64bit.
I get an error, because the program needs sqlalchemy =<0.6.7, while I have installed 0.7.2. I found a patch on this site berlios mailing list that should make it work with higher versions of sqlalchemy, but I don’t know what to do with it.
Am 22.11.2011 16:36, schrieb Nikos78:
>
> Ok, reading a bit further I guess I have to use the GNU patch utility
> (never done that before). However, I don’t know on what file to apply
> the patch.
>
>
The patch says if you open it griffith-0.12.1/lib/add.py
–
PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram
Am 22.11.2011 16:52, schrieb Martin Helm:
> Am 22.11.2011 16:36, schrieb Nikos78:
>>
>> Ok, reading a bit further I guess I have to use the GNU patch utility
>> (never done that before). However, I don’t know on what file to apply
>> the patch.
>>
>>
> The patch says if you open it griffith-0.12.1/lib/add.py
>
I seem to get old now. The patch includes changes to several files
griffith-0.12.1/lib/add.py
griffith-0.12.1/lib/preferences.py
griffith-0.12.1/lib/sql.py
you know how to apply a patch?
–
PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram
Am 22.11.2011 17:36, schrieb Nikos78:
>
> Ok, I found the three files you listed…
>
> Should I try
> Code:
> --------------------
> patch - i griffith-0.12.1-sqlalchemy-0.7.patch -o ./griffith-0.12.1/lib/add.py
> --------------------
>
>
> etc. for each file?
>
>
No, no, no.
patch -p0 <griffith-0.12.1-sqlalchemy-0.7.patch
I hope I did not understand wrong where in your file hirarchy you placed
the patch file, the patch itself contains the meta information which of
the files are to be changed.
–
PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram
First of all, thank you for your directions so far.
I am not at the 12.1 system right now. However, I have two more questions
I hope I did not understand wrong where in your file hirarchy you placed
the patch file, the patch itself contains the meta information which of
the files are to be changed.
The patch is right now one level higher than the directory where I extracted the source to. Are the paths in the patch relative or absolute?
As I understood it I will run the patch on the extracted tar.gz file and then rerun sudo make. Does this seem plausible to you?
PS: I run patch --help to see what -p0 means, but don’t really get it. As far as I understand it has nothing to do with the path of the files, true?
Am 22.11.2011 19:46, schrieb Nikos78:
> The patch is right now one level higher than the directory where I
> extracted the source to. Are the paths in the patch relative or
> absolute?
> As I understood it I will run the patch on the extracted tar.gz file
> and then rerun sudo make. Does this seem plausible to you?
>
Then it should work as described, but you should rerun “make” after that
“sudo make install”.
Never run “sudo make” alone nly the “make install” step, a simple make
is never meant to be invoked with root rights.
–
PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram