Compiling exiv2 from source

Tez binary_y2k2 at blueyonder.co.uk
Thu Jun 8 01:01:15 UTC 2006


Dotan Cohen wrote:
> On 08/06/06, Alfredo Cole <alfredo at acyc.com> wrote:
>> El Miércoles, 7 de Junio de 2006 17:26, Dotan Cohen escribió:
>
> Thanks, Alfredo, but I don't have that line:
>
> dotancohen at ety:~/Desktop/KPhotoAlbum/exiv2-0.9.1$ cat Makefile
> # ***************************************************** -*- Makefile -*-
> #
> # File:      Makefile
> # Version:   $Rev: 534 $
> # Author(s): Andreas Huggel (ahu) <ahuggel at gmx.net>
> # History:   15-Jan-04, ahu: created
> #
> # Description:
> #  Simple makefile that mainly forwards to makefiles in subdirectories.
> #
> # Restrictions:
> #  Requires GNU make.
> #
>
> .PHONY: all install uninstall doc config mostlyclean clean distclean
> maintainer-clean
>
> all install uninstall: config/config.mk
>        cd src && $(MAKE) $(MAKECMDGOALS)
>
> doc: config/config.mk
>        cd doc && $(MAKE) $(MAKECMDGOALS)
>
> config:
>        cd config && $(MAKE) $(MAKECMDGOALS)
>
> mostlyclean clean: config/config.mk
>        cd src && $(MAKE) $(MAKECMDGOALS)
>        cd doc && $(MAKE) $(MAKECMDGOALS)
>        cd config && $(MAKE) $(MAKECMDGOALS)
>
> # `make distclean' also removes files created by configuring
> # the program. Running `make all distclean' prepares the project
> # for packaging.
> distclean: clean
>        rm -f config.log config.status libtool
>        rm -f *~ *.bak *#
>
> # This removes almost everything, including the configure script!
> maintainer-clean: distclean
>        rm -f configure
>
> config/config.mk:
>        $(error File config/config.mk does not exist. Did you run
> ./configure?)
> dotancohen at ety:~/Desktop/KPhotoAlbum/exiv2-0.9.1$
In the output form make you can see the 1st command is:
cd src && make
so it's the makefile in "~/Desktop/KPhotoAlbum/exiv2-0.9.1/src" that you
should remove the ">/dev/null 2>&1" line from,
or you can just do:
g++ -g -O2 -Wall -MMD -I. -c panasonicmn.cpp -o panasonicmn.o
and see what the output is, like Zac suggested.

Tez






More information about the kubuntu-users mailing list