Am Dienstag, 3. Mai 2011 schrieb kfj:
> Hi all!
>
> I've upgraded my Kubuntu system to 11.4, now I'm trying to get hugin
> to run on that. I managed to install 2010.4 from the ppa, but it took
> some fiddling - I first had to deinstall an old libpano and install a
> new one - and I also needed libexiv2-9, which I had to download
> manually from
>
> http://packages.debian.org/sid/i386/libexiv2-9/download
>
> since kpackagekit didn't know of it. So now it looks like I have the
> readymade running at least. Next thing of course is to compile my own
> - after all I want to use hsi/hpi. This is what I get:
>
> kfj@Anja:~/src/hugin/hpi12/hpi12.b$ make
> [ 4%] Built target makefilelib
> make[2]: *** Keine Regel vorhanden, um das Target »/usr/lib/
> libpthread.so«,
You need the package libc6-dev. At least on kubuntu 10.10 it would be so.
> benötigt von »src/foreign/vigra/vigra_impex/libhuginvigraimpex.so.
> 0.0«, zu erstellen. Schluss.
> make[1]: *** [src/foreign/vigra/vigra_impex/CMakeFiles/
> huginvigraimpex.dir/all] Fehler 2
> make: *** [all] Fehler 2
>
> Has anyone been there? Any helpful hints?
>
> Kay
Kornel
Am Dienstag, 3. Mai 2011 schrieb kfj:
Sorry, since I don't have this system, I cannot help you more.
Searching for the file-list for libc6 gives me for natty on
"http://packages.ubuntu.com/natty/i386/libc6/filelist"
that there is a file /lib/i386-linux-gnu/libpthread.so.0
You could try to make appropriate symlink. (I know, this is hacking)
ln -s whatever/libpthread.so.0 /usr/lib/libpthread.so
and compile again.
Kornel
Am Donnerstag, 5. Mai 2011 schrieb kfj:
...
> There was a problem in the cmake code in CMakeLists.txt in the
> python_scripting directory, as the Python Version in 11.4 is given as
> 2.7.1+ in the version string. The detection of the python version is
> done quite laboriously and maybe clumsily - it would deserve being
> looked at. The code first scans the Python version string:
>
> FILE(STRINGS "${PYTHON_INCLUDE_PATH}/patchlevel.h" PYTHON_VERSION_H
> REGEX "#define PY_VERSION")
...
Sorry, I don't get it. Where is this relevant CMakeLists.txt? Nothing appropriate found here.
...
>
> ... so now I'm up and running on 11.4, with Python 2.7. I haven't done
> much testing yet, but loading a pto, getting a preview and running a
> python plugin on it worked just fine. Phew.
>
> Kay
Good work,
Kornel