Re: LibVorbis needs Ogg installed? (or libvorbis installed????)

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 9/26/23 9:55 PM, Scott Hannahs via Fink-users wrote:
> The configure for libvorbis attempts to execute “Ogg” and fails.
> 
> checking for pkg-config... no
> checking for Ogg... no
> *** Could not run Ogg test program, checking why...
> *** The test program failed to compile or link. See the file config.log for the
> *** exact error that occured. This usually means Ogg was incorrectly installed
> *** or that you have moved Ogg since it was installed.
> configure: error: must have Ogg installed!
> ### execution of ./configure failed, exit code 1
> 
> 
> but config.log shows that it is trying to use libvorbis (which is what is being installed)
> configure:13234: checking for Ogg
> configure:13269: gcc -o conftest -DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O3 -ffast-math -fsigned-char  -DUSE_MEMORY_H -I/opt/sw/include -I/opt/sw/include -L/opt/sw/lib/x86_64-darwin -L/opt/sw/lib -Wl,-headerpad_max_install_names conftest.c  -L/opt/sw/lib -logg >&5
> ld: unknown options: -force_cpusubtype_ALL  clang: error: linker command failed with exit code 1 (use -v to see invocation)
> configure:13269: $? = 1

Yes, libvorbis needs libogg, which is in the (Build)Depends fields. The 
actual error is during the test for the presence of ogg, where configure 
adds the flag '-force_cpusubtype_ALL', which apparently Xcode 15 no 
longer likes. This was a PowerPC only flag.
https://gitlab.xiph.org/xiph/vorbis/-/issues/2348

I've pushed a fix for this.

> ...
> Also include the following system information:
> Package manager version: 0.45.99.git
> Distribution version: selfupdate-git Sun Sep 24 22:47:27 2023, 13.0, x86_64
> Trees: local/main stable/main
> Xcode.app: 15.0
> Xcode command-line tools: 15.0.0.0.1.1694021235
> libvorbis0-1.3.7-2 is set to build with only one job.
>

-- 
                  vvv
  ___
|  ___.-----.ooO-(_)-Ooo-.-----|  .-----.
||
|___|
                    |___|



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
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.