Can't compile cbang with v8 support

Hi,
I’m trying to compile cbang with v8 support, I need it in order to be able to compile Camotics. Any idea about how to “help” cbang to find v8?
Thank you very much in advance,
Luis Pablo

you’d need the v8-devel package installed
https://software.opensuse.org/package/v8-devel
then you’d run ./configure --with-v8 (or something similar) from the cbang src dir
you might need to tell the configure script where the v8-devel headers are
try running ./configure --help for more info

Thank you very much for your help. The v8 headers are installed:

lzypper search v8
Cargando datos del repositorio...
Leyendo los paquetes instalados...

E | Nombre                   | Resumen                                  | Tipo   
--+--------------------------+------------------------------------------+--------
  | dev86                    | Suite de desarrollo 8086                 | paquete
i | libv8-5                  | JavaScript Engine                        | paquete
i | v8                       | JavaScript Engine                        | paquete
i | v8-devel                 | Development headers and libraries for v8 | paquete
i | v8-private-headers-devel | Private Development headers for v8       | paquete

cbang uses scons for configuring and compiling:

 scons -C cbang      
scons: Entering directory `/home/luispa/src/cbang/cbang'
Could not change directory to /home/luispa/src/cbang/cbang
scons: Reading SConscript files ...
  Compiler: gcc (gnu)
  Platform: posix
      Mode: gnu
      Arch: x86
      Jobs: 2
Checking for C library pthread... (cached) yes
Checking for C header file zlib.h... (cached) yes
Checking for C library z... (cached) yes
Checking for C header file bzlib.h... (cached) yes
Checking for C library bz2... (cached) yes
Checking for C header file expat.h... (cached) yes
Checking for C library expat... (cached) yes
Checking for C header file pthread.h... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library dl... (cached) yes
Checking for C library sqlite3... (cached) no
Need library sqlite3(cached) error: no result
Checking for C header file event.h... (cached) no
Need header event.h(cached) error: no result
Checking for C library leveldb... (cached) no
Checking for C header file mysql/mysql.h... (cached) no
Checking for C function clock_gettime()... (cached) yes
Checking for C library dl... (cached) yes
Checking for C header file openssl/ssl.h... (cached) no
Checking for C library libeay32MT... (cached) no
Checking for C library libeay32... (cached) no
Need openssl(cached) error: no result
Checking for C++ header file ChakraCore.h... (cached) no
Need C++ header ChakraCore.h(cached) error: no result
Checking for C++ header file v8.h... (cached) no
Need C++ header v8.h(cached) error: no result
...

However…

ls /usr/include/v8
accessors.h                code-factory.h              effects.h                   identity-map.h                   ostreams.h                           type-info.h
address-map.h              codegen.h                   eh-frame.h                  interface-descriptors.h          pending-compilation-error-handler.h  types.h
allocation.h               code-stub-assembler.h       elements.h                  isolate.h                        perf-jit.h                           typing-asm.h
allocation-site-scopes.h   code-stubs.h                elements-kind.h             isolate-inl.h                    property-descriptor.h                unicode-cache.h
api-arguments.h            collector.h                 execution.h                 json-parser.h                    property-details.h                   unicode-cache-inl.h
api-arguments-inl.h        compilation-cache.h         external-reference-table.h  json-stringifier.h               property.h                           unicode-decoder.h
api-experimental.h         compilation-dependencies.h  factory.h                   keys.h                           prototype.h                          unicode.h
api.h                      compilation-statistics.h    fast-accessor-assembler.h   layout-descriptor.h              register-configuration.h             unicode-inl.h
api-natives.h              compiler.h                  fast-dtoa.h                 layout-descriptor-inl.h          runtime-profiler.h                   uri.h
arguments.h                context-measure.h           field-index.h               list.h                           safepoint-table.h                    utils.h
assembler.h                contexts.h                  field-index-inl.h           list-inl.h                       signature.h                          utils-inl.h
assert-scope.h             contexts-inl.h              field-type.h                locked-queue.h                   simulator.h                          v8config.h
background-parsing-task.h  conversions.h               fixed-dtoa.h                locked-queue-inl.h               small-pointer-list.h                 v8.h
bailout-reason.h           conversions-inl.h           flag-definitions.h          log.h                            source-position.h                    v8memory.h
basic-block-profiler.h     counters.h                  flags.h                     log-inl.h                        splay-tree.h                         v8threads.h
bignum-dtoa.h              counters-inl.h              frames.h                    log-utils.h                      splay-tree-inl.h                     vector.h
bignum.h                   d8.h                        frames-inl.h                lookup.h                         startup-data-util.h                  version.h
bit-vector.h               date.h                      futex-emulation.h           machine-type.h                   string-builder.h                     vm-state.h
bootstrapper.h             dateparser.h                gdb-jit.h                   macro-assembler.h                string-search.h                      vm-state-inl.h
builtins.h                 dateparser-inl.h            global-handles.h            messages.h                       string-stream.h                      x64
cached-powers.h            deoptimizer.h               globals.h                   msan.h                           strtod.h                             zone-allocator.h
cancelable-task.h          disasm.h                    handles.h                   objects-body-descriptors.h       transitions.h                        zone-containers.h
char-predicates.h          disassembler.h              handles-inl.h               objects-body-descriptors-inl.h   transitions-inl.h                    zone.h
char-predicates-inl.h      diy-fp.h                    heap-symbols.h              objects.h                        type-cache.h
checks.h                   double.h                    i18n.h                      objects-inl.h                    type-feedback-vector.h
code-events.h              dtoa.h                      icu_util.h                  optimizing-compile-dispatcher.h  type-feedback-vector-inl.h

There’s no a traditional “configure” script. Any idea?

Thank you in advance.

you seam to be missing ChakraCore.h that seams to be a part of Microsoft’s Edge
https://github.com/Microsoft/ChakraCore
according to cbang ChakraCore is a requirement see
https://github.com/CauldronDevelopmentLLC/cbang#general
and
https://github.com/CauldronDevelopmentLLC/cbang#building-chakracore
you can download ChakraCore from Microsof’t git build and install it in /usr/local then rerun the configure script

Yes! But that’s not a problem, I just need to enable v8 support. cbang can compile without ChakraCore and v8 support but I need cbang ith v8 support as a dependency of other application (Camotics) which doesn’t require cbang with ChakraCore support.

Thank you very much for your reply.