[ptx] Finally hugin works on Redhat 7.3 using .tar.gz stuffs, and questions

Sengen Prasomsouk sengen at 2chatter.com
Wed Oct 12 16:41:38 BST 2005


Hi,

Again, thanks for your response. I was unable to configure under 
libpano12-2.7.0.10, that's why I used makefile.linux. Here is the 
problem with ./configure:
...
...
configure:20898: checking tiff.h presence
configure:20908: gcc -E -I/usr/include conftest.c
configure:20914: $? = 0
configure:20934: result: yes
configure:20969: checking for tiff.h
configure:20976: result: yes
configure:20987: checking for TIFFOpen in -ltiff
configure:21017: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib 
conftest.c -ltiff -lz -ljpeg >&5
/usr/lib/libtiff.so: undefined reference to `log'
/usr/lib/libtiff.so: undefined reference to `pow'
/usr/lib/libtiff.so: undefined reference to `exp'
collect2: ld returned 1 exit status
configure:21023: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pano12"
| #define PACKAGE_TARNAME "pano12"
| #define PACKAGE_VERSION "2.7.0.10"
| #define PACKAGE_STRING "pano12 2.7.0.10"
| #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
...
..
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char TIFFOpen ();
| int
| main ()
| {
| TIFFOpen ();
| ;
| return 0;
| }
configure:21049: result: no
configure:21066: checking if TIFF package is complete
configure:21070: result: no -- some components failed test
configure:21116: error:
the tiff library must be installed on your system
but configure could not find it.

Any advices on the how resolve this issue under redhat 7.3? Am I missing 
anything? The strangest thing is that there is no error on tiff library 
when configure under hugin. I'm assume similiar checking. Please help!

...
configure:23447: result: yes
configure:23482: checking for tiff.h
configure:23489: result: yes
configure:23500: checking for TIFFOpen in -ltiff
configure:23530: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib 
conftest.c -ltiff -lz -ljpeg -lm >&5
configure:23536: $? = 0
configure:23539: test -z || test ! -s conftest.err
configure:23542: $? = 0
configure:23545: test -s conftest
configure:23548: $? = 0
configure:23561: result: yes
configure:23578: checking if TIFF package is complete
configure:23602: result: yes


Regards,
Sengen

Bruno Postle wrote:

> On Tue 11-Oct-2005 at 21:01 -0700, Sengen Prasomsouk wrote:
>
>> a). download and tar zxf libpano12-2.7.0.10.tar.gz
>> b). make -f makefile.linux libpano12.so
>> c). cp libpano12.so /usr/local/lib and /usr/lib
>> d). cp /usr/local/libpano12-2.7.0.10/*.h /usr/local/include/pano12
>
>
> The makefile.linux file is out of date, I don't know why it is still 
> in there. You should be ok with these commands:
>
> tar zxf libpano12-2.7.0.10.tar.gz
> cd libpano12-2.7.0.10
> ./configure
> make
> make install
>
> Not sure if this will help with your problem though.
>
> If you have have installed libraries into /usr/local, then you need to 
> build hugin like so:
>
> CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
> make
> etc...
>
> You might also have some luck rebuilding the latest fedora source RPMs 
> for your system:
>
> http://bugbear.blackfish.org.uk/~bruno/apt/fedora/linux/4/i386/SRPMS.panorama/ 
>
>
> Just rebuild them one by one:
>
> rpmbuild --rebuild libpano12-2.7.0.11-1.fc4.bp.src.rpm etc...
>
> (though you will have to find a boost RPM from somewhere first)
>
> This stuff is going to get more difficult for you, redhat-7.3 was 
> discontinued nearly two years ago - Do you really need to use such an 
> old distribution?
>




More information about the ptx mailing list