Google NativeClient on windows : "make (e=5): Access is denied" - google-nativeclient

I'm trying to get Google native client to work on windows and I follow their steps. I installed pepper and while I'm in the getting started folder I type make serve but I get a make (e=5): Access is denied error...
Here is the whole error message :
C:\Users\User123\PROJET C\NaCl\nacl_sdk\pepper_35\getting_started>make serve
C:/Users/User123/PROJET C/NaCl/nacl_sdk/pepper_35/tools/make -C part1 all
C:\Python27\python.exe: can't find '__main__' module in 'C:/Users/User123'
make[1]: Entering directory 'C:/Users/User123/PROJET C/NaCl/nacl_sdk/pepper_35/gett
ing_started/part1'
C:/Users/User123 C:/Users/User123/PROJET C:/Users/User123/PROJET C/NaCl/nacl_sdk/pepper_3
5/getting_started/part1/C/NaCl/nacl_sdk/pepper_35/getting_started/part1/C/NaCl/n
acl_sdk/pepper_35/toolchain/_pnacl/bin/pnacl-clang++ -o hello_tutorial.bc hello_
tutorial.cc -O2 -IC:/Users/User123 C:/Users/User123/PROJET C/NaCl/nacl_sdk/pepper_35/g
etting_started/part1/C/NaCl/nacl_sdk/pepper_35/include -LC:/Users/User123 C:/Users/
User123/PROJET C/NaCl/nacl_sdk/pepper_35/getting_started/part1/C/NaCl/nacl_sdk/pepp
er_35/lib/pnacl/Release -lppapi_cpp -lppapi
process_begin: CreateProcess(NULL, C:/Users/User123 C:/Users/User123/PROJET C:/Users/V
olt/PROJET C/NaCl/nacl_sdk/pepper_35/getting_started/part1/C/NaCl/nacl_sdk/peppe
r_35/getting_started/part1/C/NaCl/nacl_sdk/pepper_35/toolchain/_pnacl/bin/pnacl-
clang++ -o hello_tutorial.bc hello_tutorial.cc -O2 -IC:/Users/User123 C:/Users/User123
/PROJET C/NaCl/nacl_sdk/pepper_35/getting_started/part1/C/NaCl/nacl_sdk/pepper_3
5/include -LC:/Users/User123 C:/Users/User123/PROJET C/NaCl/nacl_sdk/pepper_35/getting
_started/part1/C/NaCl/nacl_sdk/pepper_35/lib/pnacl/Release -lppapi_cpp -lppapi,
...) failed.
make (e=5): Access is denied.
Makefile:50: recipe for target 'hello_tutorial.bc' failed
make[1]: *** [hello_tutorial.bc] Error 5
make[1]: Leaving directory 'C:/Users/User123/PROJET C/NaCl/nacl_sdk/pepper_35/getti
ng_started/part1'
Makefile:46: recipe for target 'part1_ALL_TARGET' failed
make: *** [part1_ALL_TARGET] Error 2
C:\Users\User123\PROJET C\NaCl\nacl_sdk\pepper_35\getting_started>
How could I fix this ? I dont think it comes from files rights...

This looks like its related to the space you have in the name of your folder. Can you try removing the space?

Related

recipe for target 'sysdata' failed - negative length vectors are not allowed (compilation R-cran v4.0.0)

I am trying to build R-cran v4.0.0 using the following flags:
CFLAGS="-Ofast -march=native -pipe -mtune=native" CXXFLAGS="${CFLAGS}" ./configure --with-cairo --with-x --with-libpng --with-jpeglib --with-libtiff --enable-R-shlib --enable-BLAS-shlib --enable-memory-profiling --with-readline --with-tcltk -with-blas="-lf77blas -latlas"
During the make I get a very strange error:
make[6]: Leaving directory '/home/quics/src/R-4.0.0/src/library/tools/src'
make[5]: Leaving directory '/home/quics/src/R-4.0.0/src/library/tools/src'
make[4]: Leaving directory '/home/quics/src/R-4.0.0/src/library/tools'
make[4]: Entering directory '/home/quics/src/R-4.0.0/src/library/tools'
installing 'sysdata.rda'
Error in unique.matrix(S3methods[seq_len(nS3), , drop = FALSE]) :
negative length vectors are not allowed
Calls: ::: ... loadNamespace -> parseNamespaceFile -> unique -> unique.matrix
Execution halted
../../../share/make/basepkg.mk:150: recipe for target 'sysdata' failed
make[4]: *** [sysdata] Error 1
I have search on the internet but havent seen nothing serious concerning a problem.
Any tips on how to debug, or why/what could be returning a negative length vectors ???
It seems that the problem is caused the usage of -Ofast as compilation flag. Replacing it with -O3 solved the problem.
Maybe seq_len(nS3) returned a negative number instead of the correct length ??

kamailio v5.2 make error "ln: failed to create symbolic link 'libkamailio_ims.so.0': File exists"

Tried to upgrade a server running version 5.1.4 to 5.2 , encounred following error which blocks make install
ln: failed to create symbolic link 'libkamailio_ims.so.0': File exists
../../Makefile.libs:107: recipe for target 'libkamailio_ims.so.0' failed
make[3]: [libkamailio_ims.so.0] Error 1 (ignored)
ln: failed to create symbolic link 'libkamailio_ims.so': File exists
../../Makefile.libs:113: recipe for target 'libkamailio_ims.so' failed
make[3]: [libkamailio_ims.so] Error 1 (ignored)
LD (gcc) [L libkamailio_ims.so.0.1] libkamailio_ims.so.0.1
/usr/bin/ld: cannot find -lxml2
collect2: error: ld returned 1 exit status
../../Makefile.rules:191: recipe for target 'libkamailio_ims.so.0.1' failed
make[3]: *** [libkamailio_ims.so.0.1] Error 1
../../Makefile.rules:157: recipe for target '../../lib/ims/libkamailio_ims.so' failed
make[2]: *** [../../lib/ims/libkamailio_ims.so] Error 2
Makefile:511: recipe for target 'modules' failed
make[1]: *** [modules] Error 1
make[1]: Leaving directory '/home/ubuntu/kamailio_source_code/src'
Makefile:27: recipe for target 'modules' failed
make: *** [modules] Error 2
further clarifying this belong to IMS ICSCF module of kamailio and I have tried skipping all ims related modules while make both through modules list and command line make but to no avail. Maybe missing something here? Same
modules.lst
# the list of sub-directories with modules
modules_dirs:=modules
# the list of module groups to compile
cfg_group_include=
# the list of extra modules to compile
include_modules= db_mysql app_lua uuid topos topos_redis ndb_redis
# the list of static modules
static_modules=
# the list of modules to skip from compile list
skip_modules=ims_auth ims_charging ims_dialog ims_diameter_server ims_icscf ims_isc ims_ocs ims_qos ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf ims_usrloc_scscf
# the list of modules to exclude from compile list
exclude_modules= acc_radius app_java app_mono app_perl app_python auth_ephemeral auth_identity auth_radius carrierroute cdp cdp_avp cnxcc cplc crypto db2_ldap db_berkeley db_cassandra db_mongodb db_oracle db_perlvdb db_postgres db_sqlite db_unixodbc dialplan dnssec erlang evapi geoip geoip2 gzcompress h350 http_async_client http_client jansson janssonrpcc json jsonrpcc kazoo lcr ldap log_systemd memcached misc_radius ndb_cassandra ndb_mongodb nsq osp outbound peering phonenum presence presence_conference presence_dialoginfo presence_mwi presence_profile presence_reginfo presence_xml pua pua_bla pua_dialoginfo pua_reginfo pua_rpc pua_usrloc pua_xmpp rabbitmq regex rls sctp snmpstats tls utils websocket xcap_client xcap_server xhttp_pi xmlops xmlrpc xmpp $(skip_modules) $(skip_modules)
modules_all= $(filter-out modules/CVS,$(wildcard modules/*))
modules_noinc= $(filter-out $(addprefix modules/, $(exclude_modules) $(static_modules)), $(modules_all))
modules= $(filter-out $(modules_noinc), $(addprefix modules/, $(include_modules) )) $(modules_noinc)
modules_configured:=1
command line
make skip_modules="*ims*" modules
had to reset the config file by make cfg, it's ok now

squid make error about libltdlc.la on compile

I encounter a error when I was execute make.
The environment is
1. OS X 10.10.5
2. compiler is gcc ( I am not sure and make command log shows gcc many times)
3. Squid source version 3.5.13
log as this:
./libtool: line 4228: cd: /Users/lorancechen/version: No such file or directory
libtool: link: (cd .libs/libltdlc.lax/dlopen.a && ar x "/Users/lorancechen/version control/_open_source/squid-3.5.13/libltdl/./.libs/dlopen.a")
./libtool: line 1085: cd: .libs/libltdlc.lax/dlopen.a: No such file or directory
make[2]: *** [libltdlc.la] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
===============================
Besides, I am not find .libs directory with log reminded.
UPDATE
with #Tibidabo help, I find the directory can't contains "." or "-".
Now, another error occurred, such as
basic_ldap_auth.cc:610:13: error: 'ldap_unbind' is deprecated: first deprecated
in OS X 10.10 - use ldap_unbind_ext [-Werror,-Wdeprecated-declarations]
ldap_unbind(ld);
^
I attempt change to ldap_unbind_ext, compiler tips with can't find it or no known.
Please check that the directory does not have any "funny" characters.
I have the same error, I renamed the directory to have only alphanumerical characters by removing ".","-" etc and after that the make worked just fine!

Qt Compilation with dbus

I am trying to compile qt with dbus but it gives me the following exception. I have installed the dbus version 1.3 in the system and I am using the following configure command.
Can someone point me as to what should be done.
configure -dbus -I/usr/include/dbus-1.0 -L/usr/local/dbus/lib -ldbus-1 -fast -prefix /home/thwijeth/Software/qt-4.8.1-com-debug -v
thank you in advance.
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
In file included from qdbusconnection_p.h:51,
from qdbusconnection.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbuserror.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [qdbusconnection.o] Error 1
In file included from qdbusconnectioninterface.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbusconnectioninterface.o] Error 1
In file included from qdbusconnection_p.h:51,
from qdbusintegrator.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbusintegrator.o] Error 1
make[1]: Leaving directory `/home/thwijeth/Software/qt-repo/qt-4.8.1-src/src/dbus'
make: *** [sub-dbus-make_default-ordered] Error 2
verify if /usr/include/dbus-1.0 contains a dbus directory, if it does not, verify whether /usr/include/dbus-1.0 contains dbus.h, if so you need to create a symbolic link to dbus-1.0 as dbus
ln -s dbus-1.0 /usr/include/dbus
and then try to rerun configure.
This solution worked fine for me for this missing header. However, I got then a different error fatal error: dbus/dbus-arch-deps.h: No such file. I worked around this error by copying this file from /usr/lib/x86_64-linux-gnu/dbus-1.0/include/dbus to /usr/include/dbus-1.0/dbus/. I don't know why this header was not in the /usr/include directory from the beginning. But this is my hack to the problem.
Regards

Error while compiling Qt embedded for Beagleboard (ARM)

I am trying to compile Qt embedded for ARM. I have followed the instructions both here and here. I am using latest Angstrom toolchain and qt-embedded-linux-opensource-src-4.5.3 and I am using Ubuntu 10.10 x86.
Here steps I past:
Configured qws/linux-arm-g++/qmake.conf file for my toolchain. Here it's content:
#
# qmake configuration for building with arm-linux-g++
#
include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)
# modifications to g++.conf
QMAKE_CC = arm-angstrom-linux-gnueabi-gcc
QMAKE_CXX = arm-angstrom-linux-gnueabi-g++
QMAKE_LINK = arm-angstrom-linux-gnueabi-g++
QMAKE_LINK_SHLIB = arm-angstrom-linux-gnueabi-g++
# modifications to linux.conf
QMAKE_AR = arm-angstrom-linux-gnueabi-ar cqs
QMAKE_OBJCOPY = arm-angstrom-linux-gnueabi-objcopy
QMAKE_STRIP = arm-angstrom-linux-gnueabi-strip
load(qt_config)
Set my toolchain path:
export PATH=/home/olcay/angstrom/arm/bin:$PATH
Configured qt with:
./configure -arch arm -little-endian -xplatform qws/linux-arm-g++
Run make.
While running make I am getting this error:
make[1]: Entering directory `/home/olcay/qt-embedded/src/corelib'
arm-angstrom-linux-gnueabi-g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qatomic_arm.o arch/arm/qatomic_arm.cpp
/home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 1: ELF: not found
/home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 2: Syntax error: word unexpected (expecting ")")
make[1]: *** [.obj/release-shared-emb-arm/qatomic_arm.o] Error 2
make[1]: Leaving directory `/home/olcay/qt-embedded/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
I have also noticed that while config there is a warning and same error line in make:
The system floating point format could not be detected.
This may cause data to be generated in a wrong format
Turn on verbose messaging (-v) to see the final report.
/home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 1: ELF: not found
/home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 2: Syntax error: word unexpected (expecting ")")
And changing configure line as #Luca Carlon described does not solve the problem.
Please help me!
Thanks in advance.
I have noticed that I have downloaded my Angstrom tool-chain for 64 bit host platform but I am using 32 bit host. After downloading correct tool-chain I have managed to compile Qt. And I found that an "ELF not found" error occurs when you try to run an application which is not build for your architecture.
Replace -arch arm with -embedded arm and try again if you want to build Qt Embedded.

Resources