make-error while compiling from svn

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

make-error while compiling from svn

Bugzilla from cmaessen@casco.demon.nl
I downloaded latest svn-version (serial 588406) following the
instructions from the website. Did this before and it always went OK.
Until now. See the last lines of the output of "./configure" and the
error-lines "make" generated.
_____________________________________________________________________

-- digiKam configure results -------------------
-- sqlite3 found.................. YES
-- gphoto2 found.................. YES
-- libkipi found.................. YES
-- libtiff found.................. YES
-- libpng found................... YES
-- lcms found..................... YES
-- Exiv2 library found............ YES
------------------------------------------------

-- digiKamImagePlugins configure results --------
-- digiKam found.................. YES
-------------------------------------------------

Good - your configure finished. Start make now

WARNING: use unsermake instead of make or use a wrapper script, e.g.
  makeobj!!!
unsermake all
digikam/libs/dcraw/Makefile.am: no rule to create
  target: ./digikam/libs/dcraw/CFLAGS(./digikam/libs/dcraw/dcraw.o)
make: *** [all] Fout 1
_____________________________________________________________________


Does anybody know how to solve this?

Caspar.
--
Onze politieke cultuur voldoet uitstekend in een status quo situatie en
geleidelijke beleidsontwikkeling, maar voldoet volstrekt niet als
krachtdadige maatregelen en snel handelen zijn vereist. --Rob de Wijk
(2005)
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: make-error while compiling from svn

Gilles Caulier-2
On Monday 25 September 2006 23:46, Caspar Maessen wrote:

> I downloaded latest svn-version (serial 588406) following the
> instructions from the website. Did this before and it always went OK.
> Until now. See the last lines of the output of "./configure" and the
> error-lines "make" generated.
> _____________________________________________________________________
>
> -- digiKam configure results -------------------
> -- sqlite3 found.................. YES
> -- gphoto2 found.................. YES
> -- libkipi found.................. YES
> -- libtiff found.................. YES
> -- libpng found................... YES
> -- lcms found..................... YES
> -- Exiv2 library found............ YES
> ------------------------------------------------
>
> -- digiKamImagePlugins configure results --------
> -- digiKam found.................. YES
> -------------------------------------------------
>
> Good - your configure finished. Start make now
>
> WARNING: use unsermake instead of make or use a wrapper script, e.g.
>   makeobj!!!
> unsermake all
> digikam/libs/dcraw/Makefile.am: no rule to create
>   target: ./digikam/libs/dcraw/CFLAGS(./digikam/libs/dcraw/dcraw.o)
> make: *** [all] Fout 1
> _____________________________________________________________________
>
>
> Does anybody know how to solve this?
>

Here using automake/autoconf doesn't break anything.

Also, are you tested 'make distclean' and to restart make -f
Makefile.cvs; ./configure; etc...

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: make-error while compiling from svn

Bugzilla from cmaessen@casco.demon.nl
Op dinsdag 26 september 2006 07:46, schreef Gilles Caulier:

  > On Monday 25 September 2006 23:46, Caspar Maessen wrote:

  > > WARNING: use unsermake instead of make or use a wrapper script,
  > > e.g. makeobj!!!
  > > unsermake all
  > > digikam/libs/dcraw/Makefile.am: no rule to create
  > >   target:
  > > ./digikam/libs/dcraw/CFLAGS(./digikam/libs/dcraw/dcraw.o) make:
  > > *** [all] Fout 1

  >
  > Here using automake/autoconf doesn't break anything.
  >
  > Also, are you tested 'make distclean' and to restart make -f
  > Makefile.cvs; ./configure; etc...
  >
No luck. Didn,t expect so too.
According to the error-message something is missing in the file
digikam/libs/dcraw/Makefile.am which wasn't missed before. As I wrote
it worked before.

Caspar.
--
Leadership: 1. Never assume a damn thing; 2. Prepare relentlessly; 3. I
am responsible; 4. Surround yourself with great people. --Rudolph W.
Guiliani, Leadership (2005)
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: make-error while compiling from svn

Gilles Caulier-2
On Tuesday 26 September 2006 09:04, Caspar Maessen wrote:

> Op dinsdag 26 september 2006 07:46, schreef Gilles Caulier:
>   > On Monday 25 September 2006 23:46, Caspar Maessen wrote:
>   > > WARNING: use unsermake instead of make or use a wrapper script,
>   > > e.g. makeobj!!!
>   > > unsermake all
>   > > digikam/libs/dcraw/Makefile.am: no rule to create
>   > >   target:
>   > > ./digikam/libs/dcraw/CFLAGS(./digikam/libs/dcraw/dcraw.o) make:
>   > > *** [all] Fout 1
>   >
>   > Here using automake/autoconf doesn't break anything.
>   >
>   > Also, are you tested 'make distclean' and to restart make -f
>   > Makefile.cvs; ./configure; etc...
>
> No luck. Didn,t expect so too.
> According to the error-message something is missing in the file
> digikam/libs/dcraw/Makefile.am which wasn't missed before. As I wrote
> it worked before.
>

Yes. this is my last changes. But try to use automake/autoconf instead.

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: make-error while compiling from svn

Duncan Hill-5
In reply to this post by Bugzilla from cmaessen@casco.demon.nl
On Monday 25 September 2006 22:46, Caspar Maessen wrote:

> I downloaded latest svn-version (serial 588406) following the
> instructions from the website. Did this before and it always went OK.
> Until now. See the last lines of the output of "./configure" and the
> error-lines "make" generated.
> _____________________________________________________________________
>
> -- digiKam configure results -------------------
> -- sqlite3 found.................. YES
> -- gphoto2 found.................. YES
> -- libkipi found.................. YES
> -- libtiff found.................. YES
> -- libpng found................... YES
> -- lcms found..................... YES
> -- Exiv2 library found............ YES
> ------------------------------------------------
>
> -- digiKamImagePlugins configure results --------
> -- digiKam found.................. YES
> -------------------------------------------------
>
> Good - your configure finished. Start make now
>
> WARNING: use unsermake instead of make or use a wrapper script, e.g.
>   makeobj!!!

Have you recompiled KDE recently using unsermake instead of make?  Have you
installed unsermake for some reason?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: make-error while compiling from svn

Gilles Caulier-2
In reply to this post by Bugzilla from cmaessen@casco.demon.nl
On Tuesday 26 September 2006 09:04, Caspar Maessen wrote:

> Op dinsdag 26 september 2006 07:46, schreef Gilles Caulier:
>   > On Monday 25 September 2006 23:46, Caspar Maessen wrote:
>   > > WARNING: use unsermake instead of make or use a wrapper script,
>   > > e.g. makeobj!!!
>   > > unsermake all
>   > > digikam/libs/dcraw/Makefile.am: no rule to create
>   > >   target:
>   > > ./digikam/libs/dcraw/CFLAGS(./digikam/libs/dcraw/dcraw.o) make:
>   > > *** [all] Fout 1
>   >
>   > Here using automake/autoconf doesn't break anything.
>   >
>   > Also, are you tested 'make distclean' and to restart make -f
>   > Makefile.cvs; ./configure; etc...
>
> No luck. Didn,t expect so too.
> According to the error-message something is missing in the file
> digikam/libs/dcraw/Makefile.am which wasn't missed before. As I wrote
> it worked before.

To be more clean, my last changes are to includes dcraw.c source code into
digikam core to generate a digikamdcraw binary file used instead standard
dcraw binary file to load all RAW pictures.

By this way the dcraw depency is _REMOVED_ definitivly ! This is very
important because :

- dcraw is not a library
- dcraw author changes reguliary the command lines options
- dcraw command lines options compatibility is broken for any dcraw release.
This is a nightmare to control dcraw verion and options avaialble.

In fact, compile a validate dcraw version in digikam core will be the better
way to prevent all future problems with dcraw. The dcraw source code in
digikam are unchanged. it just a backport, tested to run with digikam core
(about command line options)

When we want to update dcraw with digiKam, i just need to get the new source
code from dcraw project page, put it in digikam core, compile and test it
with digikam. That all.

The current dcraw version backported is the last release from dcraw project
page.

About the makefile.am, my last changes are releveant of an complex compilation
problem of dcraw.c source code with all standard KDE compilation options. In
fact dcraw.c do not support the gcc -std=iso9899:1990, especailly with the
lcms header witch use pure inline method. inline keyword is not defined in C
Ansi  iso9899 based.

This is why the Makefile.am use these lines :

#-- dcraw binary -------------------------------------------------

bin_PROGRAMS = digikamdcraw
dcraw.o: CFLAGS = -w
digikamdcraw_SOURCES = dcraw.c
digikamdcraw_LDFLAGS = $(all_libraries) $(LIBJPEG) $(LCMS_LIBS)


Gilles



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: make-error while compiling from svn

Bugzilla from cmaessen@casco.demon.nl
In reply to this post by Gilles Caulier-2
Op dinsdag 26 september 2006 09:43, schreef Gilles Caulier:

  >
  > Yes. this is my last changes. But try to use automake/autoconf
  > instead.
  >
And where/how do I use these commands. I checked, and both programs are
installed on my machine.

On the digiKam web-page "How to install from svn" it explicitly states
the following commands to compile and install from svn

# make -f Makefile.cvs
# ./configure
# make
# make install

Where do automake and autoconf fit in, and which options and parameters
need to go with them. I know I'm asking the obvious, but I don't know
anything about programming and compiling other than the install-
instructions given with various programsources

Caspar.
--
Major accidents are rare events due to many barriers, safeguards, and
defences developed by modern technologies. But they continue to happen
with saddening regularity, and their human and financial consequences
are all too often catastrophic. --J. Reason, Managing the Risks of
Organisational Accidents (1998).
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: make-error while compiling from svn

Gilles Caulier-2
Le Mardi 26 Septembre 2006 18:18, Caspar Maessen a écrit :
> Op dinsdag 26 september 2006 09:43, schreef Gilles Caulier:
>   > Yes. this is my last changes. But try to use automake/autoconf
>   > instead.
>
> And where/how do I use these commands. I checked, and both programs are
> installed on my machine.

if you have automake and unsermake in your computer, just remove unsermake.

In Mandriva and Suse, this way work fine.

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: make-error while compiling from svn

Bugzilla from cmaessen@casco.demon.nl
Op dinsdag 26 september 2006 19:03, schreef Caulier Gilles:

  > if you have automake and unsermake in your computer, just remove
  > unsermake.
  >
  > In Mandriva and Suse, this way work fine.

Duncan Hill referred to unsermake in his earlier reply. So I thought
removing unsermake maybe would be the solution. As you confirm right
now.
I'm in the process of recompiling, and it looks OK so far.
Thanks for your help and advice.

Caspar.
--
Het publieke veiligheidsbeleid van vandaag is gebaseerd op theoriën die
niet meer kloppen. We hebben te maken met een over de plas
gewaaide 'culture of control', waarbij we symptomen bestrijden en
verantwoordelijkheden hoe langer hoe onduidelijker worden.  --René van
Swaaningen (citaat Alert, 2006)
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users