[ptx] [OT?] Compile Problems pfstools x86_64 (amd64): recompile with -fPIC - partially solved?

Gerhard Gaussling ggrubbish at web.de
Fri Dec 16 22:15:35 GMT 2005


Am Freitag 16 Dezember 2005 22:29 schrieb Gerhard Gaussling:
> $ CFLAGS="-mcpu=amd64 -march=amd64"  make
>
> gives the same error, and there is no option for that in ./configure
> --help

I changed pentium4 to the right value:  x86-64, 
amd64 gives this error:
pfshdrcalibrate.cpp:1: error: wrong value (amd64)  for switch -march=
etc.

Again manually...

but it does not instal correctly:

(Reading database ... 368188 files and directories currently installed.)
Unpacking pfscalibration-1.1 
(from .../pfscalibration-1.1_1.1-1_amd64.deb) ...
dpkg: error 
processing /home/gerhard/download/pfstools/pfscalibration-1.1/pfscalibration-1.1_1.1-1_amd64.deb 
(--install):
 trying to overwrite `/usr/local/bin/pfscat', which is also in package 
pfstools-1.2.1
Errors were encountered while processing:
 /home/gerhard/download/pfstools/pfscalibration-1.1/pfscalibration-1.1_1.1-1_amd64.deb
/var/tmp/XbNDNimnVQErTHUeoaAK/dpkginstall.log (END)

I had to delete that file, or 
$ sudo mv /usr/local/bin/pfscat  /usr/local/bin/pfscat.bak
$ sudo dpkg -i --force-overwrite pfscalibration-1.1_1.1-1_amd64.deb
$ sudo mv /usr/local/bin/pfscat.bak /usr/local/bin/pfscat
(because pfscat of pfstools might be newer)

dpkg -l *pfs*
ii  pfscalibration-1.1         1.1-1                      PFScalibration 
package provides an implementation of the Robertson e
ii  pfstools-1.2.1             1.2.1-1                    pfstools 
package is a set of command line (and one GUI) programs for

One need jhead to use jpeg2hdrgen
$ sudo apt-get install jhead
http://www.sentex.net/~mwandel/jhead/

and the images should have an exif header:
 HDR-PalmSprings-canyon-PTStitcher-BCC1.JPG not recognized exif header!

But I think the package works now.
Just curious how to manage that with environment variables or options 
instead of manually tweaking the makefiles...

regards

Gerhard Gaußling



More information about the ptx mailing list