Code Monkey home page Code Monkey logo

libfixposix's Introduction

Build Status Coverity Scan Build Status

The purpose of libfixposix is to offer replacements for parts of POSIX whose behaviour is inconsistent across *NIX flavours.

  • Compilation

If you've downloaded this library through git, you'll first need to generate the ./configure script; in order to do that you need to have at least autoconf-2.67, automake-1.10, libtool-2.2.6b, pkg-config and check (for the test suite: see http://check.sf.net) then run this inside the top directory:

autoreconf -i -f

For best results use a dedicated build directory instead of running the configure script directly in the source tree:

mkdir build ; cd build ../libfixposix/configure make make install

On Linux, you might need to run «ldconfig» as superuser after installing, otherwise the *nix linker won't be able to find the library

  • Installation through distro repositories

For a certain number of Linux distributions, there are officially supported repositories. You can find the instructions to configure the binary repository at https://software.opensuse.org/download.html?project=home:sionescu&package=libfixposix. Just click on your distribution, if present.

http://article.gmane.org/gmane.lisp.iolib.devel/422 also has a set of older instructions about installing on Debian-based distros.

libfixposix's People

Contributors

agrostis avatar attila-lendvai avatar avodonosov avatar byteit101 avatar dochang avatar fare avatar jasom avatar lichtblau avatar omar-polo avatar sionescu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libfixposix's Issues

Fails to build in DragonFlyBSD

I was trying to compile LFP for JRuby/Ruby SubSpawn on DragonFlyBSD, but it errored out.

The only issue is that sys/termios.h isn't present, in favor of just termios.h.

Modifying

LFP_REQUIRE_DECL([TIOCSCTTY], [sys/ioctl.h sys/termios.h])
to remove the sys/ prefix on termios.h, I can compile on DFBSD, but this obviously isn't the correct solution.

Incorrect use of ^ operator

I don't think this is right:

    tp->tv_sec  = attributes[0] / 10^9;
    tp->tv_nsec = attributes[0] % 10^9;

10^9 equals 3, not 1000000000

bitset.h is missing from the release (v0.4.0) tarball

Not sure if you're aware, but the release tarball is missing bitset.h, which causes build failure:

  CC       src/lib/resource.lo
  CC       src/lib/sendfile.lo
  CC       src/lib/syslog.lo
src/lib/bitset.c:29:10: fatal error: 'bitset.h' file not found
#include "bitset.h"
         ^
1 error generated.
make[1]: *** [src/lib/bitset.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
src/lib/spawn_file_actions.c:35:10: fatal error: 'bitset.h' file not found
#include "bitset.h"
         ^
1 error generated.
make[1]: *** [src/lib/spawn_file_actions.lo] Error 1
make: *** [all] Error 2

Termux install

I'm trying to install it on Termux, but my experience with C is little to none.

I need to install it so that I can use another of your libraries iolib.

Here's the output I'm getting:

�]0;libfixposix...�libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config/aux'.
libtoolize: copying file 'config/aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config/m4'.
libtoolize: copying file 'config/m4/libtool.m4'
libtoolize: copying file 'config/m4/ltoptions.m4'
libtoolize: copying file 'config/m4/ltsugar.m4'
libtoolize: copying file 'config/m4/ltversion.m4'
libtoolize: copying file 'config/m4/lt~obsolete.m4'
configure.ac:52: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:52: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:52: the top level
configure.ac:66: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:66: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
config/m4/ax_pthread.m4:81: AX_PTHREAD is expanded from...
configure.ac:66: the top level
configure.ac:66: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:66: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
config/m4/ax_pthread.m4:81: AX_PTHREAD is expanded from...
configure.ac:66: the top level
configure.ac:52: installing 'config/aux/compile'
configure.ac:55: installing 'config/aux/config.guess'
configure.ac:55: installing 'config/aux/config.sub'
configure.ac:39: installing 'config/aux/install-sh'
configure.ac:39: installing 'config/aux/missing'
configure.ac:111: installing 'config/aux/tap-driver.sh'
Makefile.am: installing 'config/aux/depcomp'
parallel-tests: installing 'config/aux/test-driver'
configure: WARNING: unrecognized options: --disable-rpath, --disable-rpath-hack, --disable-nls
configure: srcdir:   .
configure: builddir: 
configure: CPPFLAGS:  -I/data/data/com.termux/files/usr/include
configure: CFLAGS:    -fstack-protector-strong -Oz
configure: LDFLAGS:  -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now
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
checking for aarch64-linux-android-strip... llvm-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for aarch64-linux-android-gcc... aarch64-linux-android-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-linux-android-clang accepts -g... yes
checking for aarch64-linux-android-clang option to enable C11 features... none needed
checking whether aarch64-linux-android-clang understands -c and -o together... yes
checking dependency style of aarch64-linux-android-clang... none
checking for gawk... (cached) gawk
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unknown-linux-android
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by aarch64-linux-android-clang... ld.lld
checking if the linker (ld.lld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... llvm-nm
checking the name lister (llvm-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to aarch64-unknown-linux-android format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld.lld option to reload object files... -r
checking for aarch64-linux-android-objdump... llvm-objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-linux-android-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-linux-android-ar... llvm-ar
checking for archiver @FILE support... @
checking for aarch64-linux-android-strip... (cached) llvm-strip
checking for aarch64-linux-android-ranlib... llvm-ranlib
checking command to parse llvm-nm output from aarch64-linux-android-clang object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for aarch64-linux-android-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if aarch64-linux-android-clang supports -fno-rtti -fno-exceptions... yes
checking for aarch64-linux-android-clang option to produce PIC... -fPIC -DPIC
checking if aarch64-linux-android-clang PIC flag -fPIC -DPIC works... yes
checking if aarch64-linux-android-clang static flag -static works... yes
checking if aarch64-linux-android-clang supports -c -o file.o... yes
checking if aarch64-linux-android-clang supports -c -o file.o... (cached) yes
checking whether the aarch64-linux-android-clang linker (ld.lld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... Android linker
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for git... yes
fatal: not a git repository (or any of the parent directories): .git
checking for getconf... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to enable assertions... yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for stdlib.h... (cached) yes
checking for stdio.h... (cached) yes
checking for string.h... (cached) yes
checking for errno.h... yes
checking for time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... yes
checking for sys/signal.h... yes
checking for signal.h... yes
checking for aarch64-linux-android-clang options needed to detect all undeclared functions... -fno-builtin
checking whether TIOCSCTTY is declared... yes
checking whether NSIG is declared... yes
checking whether IP_HDRINCL is declared... yes
checking for sys/signalfd.h... yes
checking for __xpg_strerror_r... no
checking for strnlen... yes
checking for strndup... yes
checking for clearenv... yes
checking for strtok_r... yes
checking for library containing socket... none required
checking for accept4... yes
checking for pipe2... yes
checking for sendfile... yes
checking for pselect... yes
checking for ptsname_r... yes
checking for vsyslog... yes
checking for ptsname... yes
checking for posix_openpt... yes
checking for library containing clock_gettime... none required
checking for clockid_t... yes
checking whether CLOCK_REALTIME is declared... yes
checking whether CLOCK_MONOTONIC is declared... yes
checking for getpeereid... no
checking for getpeerucred... no
checking whether SO_PEERCRED is declared... yes
checking pkg-config is at least version 0.9.0... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libfixposix.spec
config.status: creating src/libfixposix.pc
config.status: creating src/lib/buildinfo.c
config.status: creating src/include/lfp/time.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-rpath, --disable-rpath-hack, --disable-nls
make  all-am
make[1]: Entering directory '/home/builder/.termux-build/libfixposix/src'
  CC       src/lib/stdlib.lo
  CC       src/lib/string.lo
  CC       src/lib/strerror.lo
  CC       src/lib/errno.lo
src/lib/stdlib.c:143:32: warning: implicit declaration of function 'confstr' is invalid in C99 [-Wimplicit-function-declaration]
    size_t default_path_size = confstr(_CS_PATH, NULL, 0);
                               ^
src/lib/strerror.c:40:12: warning: incompatible pointer to integer conversion returning 'char *' from a function with result type 'int' [-Wint-conversion]
    return strerror_r(errnum, buf, buflen);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib/stdlib.c:143:40: error: use of undeclared identifier '_CS_PATH'
    size_t default_path_size = confstr(_CS_PATH, NULL, 0);
                                       ^
1 warning generated.
src/lib/stdlib.c:145:13: error: use of undeclared identifier '_CS_PATH'
    confstr(_CS_PATH, default_path, default_path_size);
            ^
1 warning and 2 errors generated.
make[1]: *** [Makefile:1048: src/lib/stdlib.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/builder/.termux-build/libfixposix/src'
make: *** [Makefile:793: all] Error 2

Any comment is really appreciated. Thank you.

MacOSX runtime error with memory allocations

This patch is still needed to be able to use libfixposix on MacOSX. Can it be included as is, or do you think more work is required?

diff --git a/src/lib/spawn_file_actions.c b/src/lib/spawn_file_actions.c
index eb7f82a..00a8d8c 100644
--- a/src/lib/spawn_file_actions.c
+++ b/src/lib/spawn_file_actions.c
@@ -68,7 +68,7 @@ lfp_spawn_file_actions_init(lfp_spawn_file_actions_t *file_actions)
     SYSCHECK(EINVAL, file_actions == NULL);
     SYSGUARD(lfp_getrlimit(RLIMIT_NOFILE, &limit));

-    return _lfp_spawn_file_actions_init(file_actions, limit.rlim_max);
+    return _lfp_spawn_file_actions_init(file_actions, limit.rlim_cur);
 }

Investigate using setgroups()

A lint check in OBS gives this message:

W: missing-call-to-setgroups-before-setuid /usr/lib64/libfixposix.so.3.0.0
This executable is calling setuid and setgid without setgroups or initgroups.
There is a high probability this means it didn't relinquish all groups, and
this would be a potential security issue to be fixed. Seek POS36-C on the web
for details about the problem.

I get error

./configure: line 13178: syntax error near unexpected token CHECK,' ./configure: line 13178: PKG_CHECK_MODULES(CHECK, check >= 0.9.4)'

Debian package "libfixposix0" does not work with iolib

I used "apt-get install libfixposix-dev" on debian 8 to install libfixposix, and then I used quicklisp to install CLWS (websockets library) which depends on iolib. However, trying to run a websockets server crashed somewhere in iolib with an "unhandled memory fault".

Cloning the git repo for libfixposix and installing it manually fixed the problem. This is pretty easy to do, so perhaps you could put a note in the README for iolib that if problems arise with the debian package, building and installing it manually may help.

configure error on CentOS 5.8 Final 64bit

cd libfixposix-master
./configure --prefix=/usr/local

Error message here:

checking for getpeerucred... no
checking whether SO_PEERCRED is declared... yes
./configure: line 12195: syntax error near unexpected token `CHECK,'
./configure: line 12195: `    PKG_CHECK_MODULES(CHECK, check >= 0.9.4)'

Note: I compiled and installed check v0.10.0(because CentOS 5 is too old that yum only installed check-devel-0.9.3-5.fc6):

cd check-0.10.0
./configure --prefix=/usr/local
make && sudo make install

without any Error.

Note2: autoreconf -i -f without any Error.

packaging clarification

Stelian,

could you please add either an INSTALL file or extend the README with some words on how to install the packaged version and what is its status in the main distributions?

as far as i understand lfp reached the repos of the main distros, but there's only and old (2011) version in those repos. your repo (http://download.opensuse.org/repositories/home:/sionescu/Ubuntu_Trusty/) seems to have 0.3.0 which seems to be newer. BTW, this repo is also not mentioned in the README.

if you can squeeze in the time needed then a short update of the README could greatly simplify the users' lives.

thanks for your work!

Can't build on OS X

This is what I get when I try to run make:

$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
  CC       src/lib/stdlib.lo
In file included from ../src/lib/stdlib.c:30:
../src/include/lfp/time.h:46:22: error: unknown type name 'clockid_t'; did you mean 'clock_t'?
int lfp_clock_getres(clockid_t clk_id, struct timespec *res);
                     ^~~~~~~~~
                     clock_t
/usr/include/sys/_types/_clock_t.h:30:33: note: 'clock_t' declared here
typedef __darwin_clock_t        clock_t;
                                ^
In file included from ../src/lib/stdlib.c:30:
../src/include/lfp/time.h:48:23: error: unknown type name 'clockid_t'; did you mean 'clock_t'?
int lfp_clock_gettime(clockid_t clk_id, struct timespec *tp);
                      ^~~~~~~~~
                      clock_t
/usr/include/sys/_types/_clock_t.h:30:33: note: 'clock_t' declared here
typedef __darwin_clock_t        clock_t;
                                ^
In file included from ../src/lib/stdlib.c:30:
../src/include/lfp/time.h:50:23: error: unknown type name 'clockid_t'; did you mean 'clock_t'?
int lfp_clock_settime(clockid_t clk_id, struct timespec *tp);
                      ^~~~~~~~~
                      clock_t
/usr/include/sys/_types/_clock_t.h:30:33: note: 'clock_t' declared here
typedef __darwin_clock_t        clock_t;
                                ^
../src/lib/stdlib.c:83:36: error: use of undeclared identifier 'CLOCK_REALTIME'
        SYSGUARD(lfp_clock_gettime(CLOCK_REALTIME, &ts));
                                   ^
4 errors generated.
make[1]: *** [src/lib/stdlib.lo] Error 1
make: *** [all] Error 2

And here's the output for configure:

$ ../configure 
configure: srcdir:   ..
configure: builddir: 
configure: CPPFLAGS: 
configure: CFLAGS:   
configure: LDFLAGS:  
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../config/aux/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for gawk... (cached) gawk
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B
checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin15.6.0 file names to x86_64-apple-darwin15.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.6.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /opt/local/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for getconf... yes
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking whether to enable assertions... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking whether TIOCSCTTY is declared... yes
checking whether NSIG is declared... yes
checking whether IP_HDRINCL is declared... yes
checking sys/signalfd.h usability... no
checking sys/signalfd.h presence... no
checking for sys/signalfd.h... no
checking for __xpg_strerror_r... no
checking for strnlen... yes
checking for strndup... yes
checking for clearenv... no
checking for strtok_r... yes
checking for library containing socket... none required
checking for accept4... no
checking for pipe2... no
checking for sendfile... yes
checking for pselect... yes
checking for ptsname_r... no
checking for vsyslog... yes
checking for ptsname... yes
checking for posix_openpt... yes
checking for library containing clock_gettime... no
checking mach/mach.h usability... yes
checking mach/mach.h presence... yes
checking for mach/mach.h... yes
checking mach/clock.h usability... yes
checking mach/clock.h presence... yes
checking for mach/clock.h... yes
checking for host_get_clock_service... yes
checking for clock_get_attributes... yes
checking for getpeereid... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/libfixposix.pc
config.status: creating src/include/lfp/time.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

syntax error near unexpected token `CHECK,'

I got the following error trying to configure this port:

$ 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)'

For more details, please see https://trac.macports.org/ticket/59125

lfp3 debian 8 package broken?

i just installed lfp from

deb http://download.opensuse.org/repositories/home:/sionescu/Debian_8/ ./

and this is the file list in the libfixposix3 package:

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libfixposix3
/usr/share/doc/libfixposix3/README.md
/usr/share/doc/libfixposix3/changelog.gz
/usr/share/doc/libfixposix3/copyright

i.e. the .so is not included? (the error that made me to look was that
the .so was not found by SBCL)

is it something i do, or the package is indeed broken?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.