libssh compile error: gssapi.c:30:27: fatal error: gssapi/gssapi.h: No such file or directory

194 views
Skip to first unread message

JanQ

unread,
Jun 1, 2015, 3:08:49 PM6/1/15
to openbric...@googlegroups.com
I cannot compile Openbricks libssh and gnutils:

[ 55%] Building C object src/CMakeFiles/ssh_shared.dir/curve25519_ref.c.o
/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/libssh-0.6.4/src/gssapi.c:30:27: fatal error: gssapi/gssapi.h: No such file or directory
 #include <gssapi/gssapi.h>
                           ^
compilation terminated.
src/CMakeFiles/ssh_shared.dir/build.make:1020: recipe for target 'src/CMakeFiles/ssh_shared.dir/gssapi.c.o' failed
make[2]: *** [src/CMakeFiles/ssh_shared.dir/gssapi.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:185: recipe for target 'src/CMakeFiles/ssh_shared.dir/all' failed
make[1]: *** [src/CMakeFiles/ssh_shared.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2



Another problem is gnutils:

make[7]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/gnutls-3.3.12/src/gl'
make[6]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/gnutls-3.3.12/src/gl'
make[5]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/gnutls-3.3.12/src/gl'
make[5]: Entering directory '/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/gnutls-3.3.12/src'
  CC       srptool-args.lo
  CC       psktool-args.lo
  CC       ocsptool-args.lo
  CC       serv-args.lo
In file included from ocsptool-args.c:43:0:
ocsptool-args.h:49:30: fatal error: autoopts/options.h: No such file or directory
 #include <autoopts/options.h>
                              ^
compilation terminated.
In file included from srptool-args.c:43:0:
srptool-args.h:49:30: fatal error: autoopts/options.h: No such file or directory
 #include <autoopts/options.h>
                              ^
compilation terminated.
In file included from psktool-args.c:43:0:
psktool-args.h:49:30: fatal error: autoopts/options.h: No such file or directory
 #include <autoopts/options.h>
                              ^
compilation terminated.
Makefile:1842: recipe for target 'srptool-args.lo' failed
make[5]: *** [srptool-args.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
Makefile:1842: recipe for target 'ocsptool-args.lo' failed
make[5]: *** [ocsptool-args.lo] Error 1
Makefile:1842: recipe for target 'psktool-args.lo' failed
make[5]: *** [psktool-args.lo] Error 1
In file included from serv-args.c:43:0:
serv-args.h:49:30: fatal error: autoopts/options.h: No such file or directory
 #include <autoopts/options.h>
                              ^
compilation terminated.
Makefile:1842: recipe for target 'serv-args.lo' failed
make[5]: *** [serv-args.lo] Error 1
make[5]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/gnutls-3.3.12/src'
Makefile:1862: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/gnutls-3.3.12/src'
Makefile:1621: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/gnutls-3.3.12/src'
Makefile:1381: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/gnutls-3.3.12'
Makefile:1308: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/gnutls-3.3.12'
Makefile:51: recipe for target 'rootfs' failed
make: *** [rootfs] Error 2

Old vers. gnutils 3.1.15 worked

I have 64 bit Gentoo, I compile always default i386 generic xbmc.
About a year ago my new XBMC compile
success OK.

Thanks

toml...@gmail.com

unread,
Jun 2, 2015, 1:45:41 AM6/2/15
to openbric...@googlegroups.com
Le 01/06/2015 21:08, JanQ a écrit :

Hello,
> I cannot compile Openbricks libssh and gnutils:
>
> [ 55%] Building C object src/CMakeFiles/ssh_shared.dir/curve25519_ref.c.o
> /WORK/WORK/MMBOX_uus/openbricks_master_GIT_4__30_05_2015__puhas/build/build.i386.eglibc/libssh-0.6.4/src/gssapi.c:30:27:
> fatal error: gssapi/gssapi.h: No such file or directory
> #include <gssapi/gssapi.h>
> ^
> compilation terminated.
> src/CMakeFiles/ssh_shared.dir/build.make:1020: recipe for target
> 'src/CMakeFiles/ssh_shared.dir/gssapi.c.o' failed
> make[2]: *** [src/CMakeFiles/ssh_shared.dir/gssapi.c.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> CMakeFiles/Makefile2:185: recipe for target
> 'src/CMakeFiles/ssh_shared.dir/all' failed
> make[1]: *** [src/CMakeFiles/ssh_shared.dir/all] Error 2
> Makefile:137: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
Let's statrt with thin one :
I have looked at the buildbot logs, and no problem with gssapi (not
found either)
Can you try to deactivate gssapi ?
please look here :
https://github.com/OpenBricks/openbricks/commit/92947eaeaddca891d52f5c3a3e53d2a162e4099d
>

>
> I have 64 bit Gentoo, I compile always default i386generic xbmc.
> About a year ago my new XBMC compile success OK.
>
> Thanks
>

Cheers !
> --
> You received this message because you are subscribed to the Google
> Groups "OpenBricks Development List" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to openbricks-dev...@googlegroups.com
> <mailto:openbricks-dev...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


--
www.geexbox.org
mailto:toml...@openbricks.org

toml...@gmail.com

unread,
Jun 2, 2015, 1:48:52 AM6/2/15
to openbric...@googlegroups.com
Le 01/06/2015 21:08, JanQ a écrit :

>
Hello,
Can you try to add to build script this :
"--enable-local-libopts"

Cheers !
> Another problem is gnutils:

>
> Old vers. gnutils 3.1.15 worked
>
> I have 64 bit Gentoo, I compile always default i386generic xbmc.
> About a year ago my new XBMC compile success OK.
>
> Thanks
>

Carl Michal

unread,
Jul 25, 2015, 1:59:37 PM7/25/15
to OpenBricks Development List, toml...@gmail.com
On Monday, June 1, 2015 at 10:48:52 PM UTC-7, Thomas Genty wrote:
Le 01/06/2015 21:08, JanQ a écrit :

>
Hello,
Can you try to add to build script this :
"--enable-local-libopts"

Cheers !
> Another problem is gnutils:



I ran into this same problem for gnutls, and adding --enable-local-libopts solved it. Thanks!

Reply all
Reply to author
Forward
0 new messages