#65804 closed defect (fixed)

singular fails to configure for PPC

Reported by: barracuda156 Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: powerpc, rosetta, snowleopard Cc:
Port: singular

Description

checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking Found Pthread, PTHREAD_CC:... /usr/bin/gcc-4.2 -std=gnu99
checking                PTHREAD_CFLAGS:... -pthread
checking                PTHREAD_LIBS:... unset
checking for clock_gettime in -lrt... no
checking for spasm_csr_free in -lspasm... no
checking for NTL >= 5.0... configure: error: NTL support was requested but NTL could not be detected
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_singular/singular/work/Singular-4-3-1" && ./autogen.sh && ./configure --prefix=/opt/local --enable-gfanlib --with-ntl=/opt/local --with-flint=/opt/local 
Exit code: 1

In fact, ntl is installed:

10:~ svacchanda$ port -v installed ntl
The following ports are currently installed:
  ntl @11.5.1_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-08-07T20:15:15+0700'

Attachments (2)

singular_config.txt (169.5 KB) - added by barracuda156 13 months ago.
singular_main_log.txt (101.1 KB) - added by barracuda156 13 months ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Could you attach the config.log which should show us why this configure check failed?

comment:2 in reply to:  1 Changed 13 months ago by barracuda156

Replying to ryandesign:

Could you attach the config.log which should show us why this configure check failed?

Sorry, this was totally forgotten. The problem still there and not Rosetta-specific (fails natively too).

Logs attached now.

Changed 13 months ago by barracuda156

Attachment: singular_config.txt added

Changed 13 months ago by barracuda156

Attachment: singular_main_log.txt added

comment:3 Changed 13 months ago by barracuda156

Summary: singular fails to configure on Rosettasingular fails to configure for PPC

comment:4 Changed 13 months ago by barracuda156

Version: 2.7.22.8.1

comment:5 Changed 13 months ago by kencu (Ken)

To include ntl requires a more advanced compiler than gcc-4.2.

comment:6 in reply to:  5 Changed 13 months ago by barracuda156

Replying to kencu:

To include ntl requires a more advanced compiler than gcc-4.2.

Well, the port does not ask for it.

comment:7 Changed 13 months ago by kencu (Ken)

not yet :)

comment:8 Changed 13 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In a49fd0a8bf7db0f8f1646d923a1e71b8c10f9873/macports-ports (master):

singular: blacklist *gcc-4.*, fix build on <10.7

Fixes: #65804

Note: See TracTickets for help on using tickets.