--- In
exiv2@..., Andreas Huggel <ahuggel@g...> wrote:
> Hi Benoît,
> Try to build the static library:
For the record, this does work but the compile is still quite noisy. If you are
interested
here is the output of a compile on Mac OSX 10.3.7.
thain(root)# ./configure
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking whether lstat dereferences a symlink specified with a trailing slash...
no
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for memset... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
checking for timegm... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating config.h
thain(root)# make
cd src && make
generating .utils.d
generating .metacopy.d
generating .actions.d
generating .exiv2.d
generating .iptceasy.d
generating .dataarea-test.d
generating .write2-test.d
generating .write-test.d
generating .taglist.d
generating .makernote-test.d
generating .key-test.d
generating .iptctest.d
generating .iptcprint.d
generating .ifd-test.d
generating .exifprint.d
generating .exifcomment.d
generating .addmoddel.d
generating .value.d
generating .types.d
generating .tags.d
generating .sigmamn.d
generating .nikonmn.d
generating .metadatum.d
generating .makernote.d
generating .iptc.d
generating .image.d
generating .ifd.d
generating .fujimn.d
generating .exif.d
generating .datasets.d
generating .canonmn.d
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c canonmn.cpp -o
canonmn.o
In file included from canonmn.cpp:37:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c datasets.cpp -o
datasets.o
In file included from datasets.hpp:33,
from datasets.cpp:33:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c exif.cpp -o
exif.o
In file included from metadatum.hpp:38,
from exif.hpp:34,
from exif.cpp:37:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c fujimn.cpp -o
fujimn.o
In file included from fujimn.cpp:38:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c ifd.cpp -o ifd.o
In file included from ifd.hpp:35,
from ifd.cpp:34:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c image.cpp -o
image.o
In file included from image.hpp:38,
from image.cpp:44:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c iptc.cpp -o
iptc.o
In file included from metadatum.hpp:38,
from iptc.hpp:34,
from iptc.cpp:36:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c makernote.cpp -o
makernote.o
In file included from makernote.hpp:35,
from makernote.cpp:37:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c metadatum.cpp -o
metadatum.o
In file included from metadatum.hpp:38,
from metadatum.cpp:35:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c nikonmn.cpp -o
nikonmn.o
In file included from nikonmn.cpp:34:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c sigmamn.cpp -o
sigmamn.o
In file included from sigmamn.cpp:36:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c tags.cpp -o
tags.o
In file included from metadatum.hpp:38,
from tags.hpp:35,
from tags.cpp:33:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c types.cpp -o
types.o
In file included from types.cpp:34:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c value.cpp -o
value.o
In file included from value.hpp:36,
from value.cpp:35:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
a - canonmn.o
a - datasets.o
a - exif.o
a - fujimn.o
a - ifd.o
a - image.o
a - iptc.o
a - makernote.o
a - metadatum.o
a - nikonmn.o
a - sigmamn.o
a - tags.o
a - types.o
a - value.o
ranlib libexiv2.a
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c addmoddel.cpp -o
addmoddel.o
In file included from metadatum.hpp:38,
from exif.hpp:34,
from addmoddel.cpp:5:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c mn.cpp -o mn.o
In file included from canonmn.hpp:37,
from mn.cpp:2:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 addmoddel.o mn.o -L. -L/usr/local/lib -lexiv2 -o addmoddel
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c exifcomment.cpp
-o
exifcomment.o
In file included from metadatum.hpp:38,
from exif.hpp:34,
from exifcomment.cpp:14:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 exifcomment.o mn.o -L. -L/usr/local/lib -lexiv2 -o exifcomment
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c exifprint.cpp -o
exifprint.o
In file included from metadatum.hpp:38,
from exif.hpp:34,
from exifprint.cpp:5:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 exifprint.o mn.o -L. -L/usr/local/lib -lexiv2 -o exifprint
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c ifd-test.cpp -o
ifd-
test.o
In file included from ifd.hpp:35,
from ifd-test.cpp:1:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 ifd-test.o mn.o -L. -L/usr/local/lib -lexiv2 -o ifd-test
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c iptcprint.cpp -o
iptcprint.o
In file included from metadatum.hpp:38,
from iptc.hpp:34,
from iptcprint.cpp:5:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 iptcprint.o mn.o -L. -L/usr/local/lib -lexiv2 -o iptcprint
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c iptctest.cpp -o
iptctest.o
In file included from metadatum.hpp:38,
from iptc.hpp:34,
from iptctest.cpp:13:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 iptctest.o mn.o -L. -L/usr/local/lib -lexiv2 -o iptctest
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c key-test.cpp -o
key-
test.o
In file included from metadatum.hpp:38,
from exif.hpp:34,
from key-test.cpp:13:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 key-test.o mn.o -L. -L/usr/local/lib -lexiv2 -o key-test
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c
makernote-test.cpp -o
makernote-test.o
In file included from makernote.hpp:35,
from makernote-test.cpp:1:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 makernote-test.o mn.o -L. -L/usr/local/lib -lexiv2 -o
makernote-test
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c taglist.cpp -o
taglist.o
In file included from makernote.hpp:35,
from taglist.cpp:14:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 taglist.o mn.o -L. -L/usr/local/lib -lexiv2 -o taglist
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c write-test.cpp -o
write-
test.o
In file included from metadatum.hpp:38,
from exif.hpp:34,
from write-test.cpp:18:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 write-test.o mn.o -L. -L/usr/local/lib -lexiv2 -o write-test
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c write2-test.cpp
-o
write2-test.o
In file included from metadatum.hpp:38,
from exif.hpp:34,
from write2-test.cpp:13:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 write2-test.o mn.o -L. -L/usr/local/lib -lexiv2 -o write2-test
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c dataarea-test.cpp
-o
dataarea-test.o
In file included from metadatum.hpp:38,
from exif.hpp:34,
from dataarea-test.cpp:13:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 dataarea-test.o mn.o -L. -L/usr/local/lib -lexiv2 -o
dataarea-test
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c iptceasy.cpp -o
iptceasy.o
In file included from metadatum.hpp:38,
from iptc.hpp:34,
from iptceasy.cpp:5:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 iptceasy.o mn.o -L. -L/usr/local/lib -lexiv2 -o iptceasy
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c exiv2.cpp -o
exiv2.o
In file included from exiv2.hpp:35,
from exiv2.cpp:43:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c actions.cpp -o
actions.o
In file included from exiv2.hpp:35,
from actions.hpp:40,
from actions.cpp:41:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c utils.cpp -o
utils.o
g++ -Wall -O2 exiv2.o actions.o utils.o mn.o -L. -L/usr/local/lib -lexiv2 -o
exiv2
g++ -Wall -O2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c metacopy.cpp -o
metacopy.o
In file included from metadatum.hpp:38,
from exif.hpp:34,
from metacopy.cpp:31:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 metacopy.o utils.o mn.o -L. -L/usr/local/lib -lexiv2 -o metacopy
thain(root)# src/iptcprint ~/Desktop/iptc_bake_off.jpg
Iptc.Application2.RecordVersion 0x0000 Short 1 2
Iptc.Application2.Caption 0x0078 String 13 ps/gc:caption
Iptc.Application2.Writer 0x007a String 30 ps/gc:caption
writer;iv:writer
...<snip> ...