Opened 5 years ago

Closed 5 years ago

#59125 closed defect (invalid)

libfixposix @0.4.3: syntax error near unexpected token `CHECK,'

Reported by: nalzok (Qingyao Sun) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.0
Keywords: Cc: sunqingyao19970825@…
Port: libfixposix

Description (last modified by nalzok (Qingyao Sun))

I was trying in to install Next, one of whose dependencies is libfixposix. It is an error during the configuration of libfixposix that halted the installation process, so I'm opening a ticket for it.

$ sudo port install libfixposix
--->  Computing dependencies for libfixposix
--->  Configuring libfixposix
Error: Failed to configure libfixposix, consult /opt/local/var/macports/build/_private_var_local_ports_devel_libfixposix/libfixposix/work/libfixposix-0.4.3/config.log
Error: Failed to configure libfixposix: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_private_var_local_ports_devel_libfixposix/libfixposix/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port libfixposix failed

Here is my attempt to configure the port manually

$ cd /opt/local/var/macports/build/_private_var_local_ports_devel_libfixposix/libfixposix/work/libfixposix-0.4.3

$  sudo ./configure
Password:
configure: srcdir:   .
configure: builddir:
configure: CPPFLAGS:
configure: CFLAGS:
configure: LDFLAGS:
configure: WARNING: you should configure in a separate build directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
 === IRRELEVANT OUTPUT OMITTED ===
checking for getpeereid... yes
./configure: line 13721: syntax error near unexpected token `CHECK,'
./configure: line 13721: `    PKG_CHECK_MODULES(CHECK, check >= 0.9.4)'

Please see the attachment for more detailed log.

Attachments (2)

main.log (63.9 KB) - added by nalzok (Qingyao Sun) 5 years ago.
config.log (54.6 KB) - added by nalzok (Qingyao Sun) 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by nalzok (Qingyao Sun)

Attachment: main.log added

Changed 5 years ago by nalzok (Qingyao Sun)

Attachment: config.log added

comment:1 Changed 5 years ago by nalzok (Qingyao Sun)

Description: modified (diff)
Summary: libfixposix @0.4.3: Permission deniedlibfixposix @0.4.3: syntax error near unexpected token `CHECK,'

comment:2 Changed 5 years ago by jmroot (Joshua Root)

This port doesn't seem to exist in our repo? You should probably report the issue to whoever wrote this portfile.

comment:3 in reply to:  2 Changed 5 years ago by nalzok (Qingyao Sun)

Replying to jmroot:

This port doesn't seem to exist in our repo? You should probably report the issue to whoever wrote this portfile.

Thanks, jmroot! I have already resolved the issue myself, though. For those who have the same issue, simply edit the file Makefile.am, and append the flag --install to the line ACLOCAL_AMFLAGS = -I config/m4, and it will work!

comment:4 Changed 5 years ago by mf2k (Frank Schima)

Keywords: permission removed
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.