Re: [Csnd-dev] [EXTERNAL] Re: [Csnd-dev] CS7 build error: cannot find -lIntl::Intl

Victor Lazzarini <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
I think there is an option to switch it off.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Nov 2023, at 02:23, Steven Yi <[email protected]> wrote:


*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

I think I remember something about libintl being available on some linux systems and on others the functions are included in glibc. Our older cmake checked if libintl was available or not and did an extra check if it was Linux. I think the assumption was if gettext was found that the system would have what it needed, whether it was libintl or not.  Perhaps we need to revise the change for this.

On Sun, Nov 12, 2023 at 4:17 PM Stephen Kyne <[email protected]<mailto:[email protected]>> wrote:
Tryr `sudo apt install gettext` or else check if it's installed. Might need to update your cmake version.

Or else set USE_GETTEXT 0 for cmake to disable it altogether. It recently changed with https://github.com/csound/csound/pull/1756 this PR.

Stephen

[https://opengraph.githubassets.com/dbbbad1c2f8040e9ff2d93ed1a90a7fc808a80cb90500afbafaf8a2066b59d6d/csound/csound/pull/1756]<https://github.com/csound/csound/pull/1756>
use intl target by bramtayl · Pull Request #1756 · csound/csound<https://github.com/csound/csound/pull/1756>
cmake comes with a prepackaged Intl find module which creates a handy imported target.
github.com<http://github.com/>

________________________________
From: Csound-developers <[email protected]<mailto:[email protected]>> on behalf of joachim heintz <[email protected]<mailto:[email protected]>>
Sent: Sunday 12 November 2023 21:05
To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>
Subject: [Csnd-dev] CS7 build error: cannot find -lIntl::Intl

hi all -

i get this error from current develop branch:

[ 83%] Linking CXX shared library libcsound64.so
/usr/bin/ld: cannot find -lIntl::Intl
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/csound64.dir/build.make:3862:
libcsound64.so.7.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:583: CMakeFiles/csound64.dir/all] Error 2
make: *** [Makefile:182: all] Error 2

this is with debian 11 and these tasks from the csound root dir:

cd ../cs7make
cmake ../csound
make -j6

i did this with a clean cs7make dir, and now also with a complete new
cloned csound dir, but no success.

thanks for any help -
        joachim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.