* tony Hamilton <shaky.st...@ntlworld.com> [07-24-23 08:46]:
> 
> 
> On 23/07/2023 17:07, Patrick Shanahan wrote:
> > * tony Hamilton <shaky.st...@ntlworld.com> [07-23-23 10:40]:
> > > 
> > > On 23/07/2023 14:28, Patrick Shanahan wrote:
> > > > * tony Hamilton <shaky.st...@ntlworld.com> [07-23-23 09:24]:
> > > > > I'm trying to compile dt release 4.4.2, using the same process that 
> > > > > worked
> > > > > for me with 4.4.1 a  short time ago. I get this error:
> > > > > 
> > > > > "-- The CXX compiler identification is unknown
> > > > > CMake Error at CMakeLists.txt:23 (project):
> > > > >     The CMAKE_CXX_COMPILER:
> > > > > 
> > > > >       /usr/bin/c++
> > > > > 
> > > > >     is not a full path to an existing compiler tool.
  ...

> Thanks for this further explanation. I notice that a number of people -
> mostly a lot smarter than me at compiling dt - have stumbled across the
> problem of the build process failing with a complaint that the version of
> the GNU compiler that it finds (typically 11.xx) is too old: version 12.xx
> is required. This problem foxed me for a while because Synaptic tells me
> that I do have  version 12 installed.  The only way I found around it was to
> delete the directory named 'build' before running the build.sh script.
> Apparently this avoids the build process from being mislead by some setting
> in a cmake cache somewhere - but since I don't know where that is, I just
> delete the 'build' directory completely.

I am definitely not any kind of expert, just experienced somewhat.

the *first* correction I do if a build fails is to "rm -rf" the build
directory.

the second is to completely remove all of the dt git structure and clone
it again.
 
> Working in this mode of unbounded ignorance is not very satisfying, so I
> would be grateful if you can direct me to the source of your understanding
> about cmake expecting /usr/bin/c++ to be an alias of /usr/bin/g++. 

you told me :)  "/usr/bin/c++ is not a full path ..."
then I looked on my system, ls -la /usr/bin/c++
  lrwxrwxrwx 1 root root 6 Jun 14 11:13 /usr/bin/c++ -> g++-13*
  

> That way I can understand better the reason for this common compile
> failure.

the directions in dt's github repository are quite good.

good sailing ... 

-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo                   paka @ IRCnet oftc
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to