[OpenIndiana-discuss] build xbindkeys from source

Bryan N Iotti ironsides.medvet at gmail.com
Mon Jul 29 17:50:19 UTC 2013


Hi there,

I would look at three things:
1) your compiler flags are peculiar. You have four "-I." includes for the current directory. Why?

2) You are using both the debugging and optimization flags for gcc ("-g" and "-O2"). Do you want a debuggable executable or an optimized one?

3) The gmp.h header is a part of the GNU multiple precision library. Are the packages for gmp, mpfr and mpr installed?

Hope this helps.

   Bryan
Sent from my BlackBerry® wireless device from WIND

-----Original Message-----
From: Harry Putnam <reader at newsguy.com>
Date: Mon, 29 Jul 2013 02:41:04 
To: <openindiana-discuss at openindiana.org>
Reply-To: Discussion list for OpenIndiana <openindiana-discuss at openindiana.org>
Subject: [OpenIndiana-discuss] build xbindkeys from source

Running a new install from 151a7

Attempting to build a pkg called 'xbindkeys' from source but finding
that some of the required files... that appear to be expected under
libguile are not to be found.

I do have the guile pkg in the repo installed and it has a libguile
directory in the expected path.... but certain files that xbindkeys
expects are not found there.

Also gmake (or make) find somethings in some files that are present not
to its liking.  
(I've included the ouput of gmake at the end)

Is there some other version of ligbuile or maybe something I need from
devel pkgs of somekind?

Hopefully someone will be able to tell what is going on from 'gmake'
output: 

reader at voi:~/Downloads/xbindkeys-1.7.3$ gmake

gcc -DHAVE_CONFIG_H -I. -I. -I.  -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1
-I. -Wall -g -O2 -c xbindkeys.c

In file included from xbindkeys.c:36:

/usr/include/libguile.h:24:17: gmp.h: No such file or directory

In file included from /usr/include/libguile.h:67,
                 from xbindkeys.c:36:

/usr/include/libguile/numbers.h:31:28: floatingpoint.h: No such file or
directory

In file included from /usr/include/libguile.h:67,
                 from xbindkeys.c:36:

/usr/include/libguile/numbers.h:334: error: syntax error before "mpz_t"

/usr/include/libguile/numbers.h:335: error: syntax error before "rop"

xbindkeys.c: In function `catch_CHLD_signal':
xbindkeys.c:441: warning: int format, pid_t arg (arg 2)
gmake: *** [xbindkeys.o] Error 1


_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the OpenIndiana-discuss mailing list