Re: [darktable-user] dt 4.6.1 - Fatal error in build from source; advice requested

2024-02-26 Thread Jean-Luc

Le 24/02/2024 à 09:53, tony Hamilton a écrit :

On 23/02/2024 23:14, Florian Heer wrote:

On 23/02/2024 21:28, Jean-Luc wrote:

Le 20/02/2024 à 11:25, tony Hamilton a écrit :

I'm building dt 4.6.1 following the build procedure in the READMe.MD file on
github as accurately as I am able to - that is I am following every command
line instruction/example given. I'm running Mint 21.3, up to date as of this
morning.


.../...

Don't forget, after compiling, to update lenfun - otherwise some cameras 
might be missing.


sudo apt update liblensfun-bin
lensfun-update-data

My D4s had vanished once more, this made it come back.

Rgrds,

J.-Luc


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] dt 4.6.1 - Fatal error in build from source; advice requested

2024-02-24 Thread tony Hamilton
On 23/02/2024 23:14, Florian Heer wrote:
> On 23/02/2024 21:28, Jean-Luc wrote:
>> Le 20/02/2024 à 11:25, tony Hamilton a écrit :
>>> I'm building dt 4.6.1 following the build procedure in the READMe.MD file on
>>> github as accurately as I am able to - that is I am following every command
>>> line instruction/example given. I'm running Mint 21.3, up to date as of this
>>> morning.
>>>
>> I just gave it a try a few minutes ago with no problem.
>> Ubuntu 22.04.
>> Maybe something weak in your system. :-/
> 
> 
> I don't really like to go "same here" usually, but I just had to try. Compiled
> Darktable 4.6.1 on Gentoo just now - no problem.
> 
> Sorry to not be actually helpful.
> 
> 
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org

yes, there is something weak in my system: the operator, who has the wrong
level of incompetence.

Problem now solved. Problem was caused by my attempts, from 2 to 4 years ago,
to install lensfun 0.3.95. This left files in /usr/local/lib. I was not aware
of this folder nor of the effects of having irrelevant liblensfun files here
in the search path. Compile completed without error but the resulting build
was not safely executable.



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] dt 4.6.1 - Fatal error in build from source; advice requested

2024-02-23 Thread michael
I have the same issue on my Fedora 39 system...actually it's the same
failure on both my desktop and laptop machines. I was successful in
compiling 4.6.0 on both machines so this one is a stumper. As I recall
I had a similar problem with 4.6.0 and I had to load lensfun from their
git repository which fixed the problem. I re-loaded lensfun from git
but that didn't fix the problem this time.

On Tue, 2024-02-20 at 10:25 +, tony Hamilton wrote:
> I'm building dt 4.6.1 following the build procedure in the READMe.MD
> file on
> github as accurately as I am able to - that is I am following every
> command
> line instruction/example given. I'm running Mint 21.3, up to date as
> of this
> morning.
> 
> The build proceeds to about 95% complete; it then posts this error
> (copied
> from my terminal dialog):
> 
> { 95%] Linking C shared module libtiff.so
> [ 95%] Linking C shared module libwebp.so
> [ 95%] Linking CXX shared module libdemosaic.so
> [ 96%] Linking C shared module libj2k.so
> [ 96%] Built target tiff
> In file included from
> /home/tony/darktable/build/lib/darktable/plugins/introspection_lens.c
> c:175:
> /home/tony/darktable/src/iop/lens.cc: In function ‘lfModifier*
> _get_modifier(int*, int, int, const dt_iop_lens_data_t*, int,
> gboolean)’:
> /home/tony/darktable/src/iop/lens.cc:985:46: error: no matching
> function for
> call to ‘lfModifier::lfModifier(lfLens* const&, const float&, const
> int&,
> const int&)’
>   985 |   mod = new lfModifier(d->lens, d->crop, w, h);
>   |  ^
> compilation terminated due to -Wfatal-errors.
> [ 96%] Building C object
> lib/darktable/plugins/imageio/storage/CMakeFiles/latex.dir/latex.c.o
> gmake[2]: ***
> [lib/darktable/plugins/CMakeFiles/lens.dir/build.make:82:
> lib/darktable/plugins/CMakeFiles/lens.dir/introspection_lens.cc.o]
> Error 1
> gmake[1]: *** [CMakeFiles/Makefile2:6141:
> lib/darktable/plugins/CMakeFiles/lens.dir/all] Error 2
> gmake[1]: *** Waiting for unfinished jobs
> [ 96%] Built target webp
> [ 96%] Built target demosaic
> 
> This might be indicating an error in line 985 of file lens.cc in
> /darktable/src/iop - but I suspect more strongly that this is a user
> error
> resulting from some file not being included or at the wrong version.
> No
> unfulfilled dependencies are flagged and I have a valid version of
> lensfun
> installed. Any suggestion of where I should be looking to determine
> the cause?
> 
> The error is consistently reproducible. I am deleting ~/darktable and
> /opt/darktable entirely between build attempts.
> 
> 
> _
> ___
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
> 


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] dt 4.6.1 - Fatal error in build from source; advice requested

2024-02-23 Thread Florian Heer

On 23/02/2024 21:28, Jean-Luc wrote:

Le 20/02/2024 à 11:25, tony Hamilton a écrit :

I'm building dt 4.6.1 following the build procedure in the READMe.MD file on
github as accurately as I am able to - that is I am following every command
line instruction/example given. I'm running Mint 21.3, up to date as of this
morning.


I just gave it a try a few minutes ago with no problem.
Ubuntu 22.04.
Maybe something weak in your system. :-/



I don't really like to go "same here" usually, but I just had to try. 
Compiled Darktable 4.6.1 on Gentoo just now - no problem.


Sorry to not be actually helpful.


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] dt 4.6.1 - Fatal error in build from source; advice requested

2024-02-23 Thread Jean-Luc

Le 20/02/2024 à 11:25, tony Hamilton a écrit :

I'm building dt 4.6.1 following the build procedure in the READMe.MD file on
github as accurately as I am able to - that is I am following every command
line instruction/example given. I'm running Mint 21.3, up to date as of this
morning.

The build proceeds to about 95% complete; it then posts this error (copied
from my terminal dialog):

.../...
The error is consistently reproducible. I am deleting ~/darktable and
/opt/darktable entirely between build attempts.


Hello Tony,

I just gave it a try a few minutes ago with no problem.
Ubuntu 22.04.
Maybe something weak in your system. :-/

Rgrds,

J.-Luc


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

[darktable-user] dt 4.6.1 - Fatal error in build from source; advice requested

2024-02-20 Thread tony Hamilton
I'm building dt 4.6.1 following the build procedure in the READMe.MD file on
github as accurately as I am able to - that is I am following every command
line instruction/example given. I'm running Mint 21.3, up to date as of this
morning.

The build proceeds to about 95% complete; it then posts this error (copied
from my terminal dialog):

{ 95%] Linking C shared module libtiff.so
[ 95%] Linking C shared module libwebp.so
[ 95%] Linking CXX shared module libdemosaic.so
[ 96%] Linking C shared module libj2k.so
[ 96%] Built target tiff
In file included from
/home/tony/darktable/build/lib/darktable/plugins/introspection_lens.cc:175:
/home/tony/darktable/src/iop/lens.cc: In function ‘lfModifier*
_get_modifier(int*, int, int, const dt_iop_lens_data_t*, int, gboolean)’:
/home/tony/darktable/src/iop/lens.cc:985:46: error: no matching function for
call to ‘lfModifier::lfModifier(lfLens* const&, const float&, const int&,
const int&)’
  985 |   mod = new lfModifier(d->lens, d->crop, w, h);
  |  ^
compilation terminated due to -Wfatal-errors.
[ 96%] Building C object
lib/darktable/plugins/imageio/storage/CMakeFiles/latex.dir/latex.c.o
gmake[2]: *** [lib/darktable/plugins/CMakeFiles/lens.dir/build.make:82:
lib/darktable/plugins/CMakeFiles/lens.dir/introspection_lens.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:6141:
lib/darktable/plugins/CMakeFiles/lens.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs
[ 96%] Built target webp
[ 96%] Built target demosaic

This might be indicating an error in line 985 of file lens.cc in
/darktable/src/iop - but I suspect more strongly that this is a user error
resulting from some file not being included or at the wrong version. No
unfulfilled dependencies are flagged and I have a valid version of lensfun
installed. Any suggestion of where I should be looking to determine the cause?

The error is consistently reproducible. I am deleting ~/darktable and
/opt/darktable entirely between build attempts.



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org