I am trying to install otp R14B04 release on mac osx.
./configure goes well but make gives me this error:
make -f i386-apple-darwin11.3.0/Makefile TYPE=opt
make[3]: Nothing to be done for `all'.
cd lib && \
ERL_TOP=/Users/abhinavsingh/Documents/otp_src_R14B04 PATH=/Users/abhinavsingh/Documents/otp_src_R14B04/bootstrap/bin:${PATH} \
make opt SECONDARY_BOOTSTRAP=true
=== Entering application hipe
erlc -W +debug_info +inline -o../ebin hipe_rtl.erl
(no error logger present) error: "Error in process <0.1.0> with exit value: {{badfun,[<<5 bytes>>,<<54 bytes>>,<<9 bytes>>,<<3 bytes>>,<<2 bytes>>,<<5 bytes>>,<<19 bytes>>,<<2 bytes>>,<<8 bytes>>,<<8 bytes>>,<<5 bytes>>,<<7 bytes>>,<<5 bytes>>,<<11 bytes>>,<<2 bytes>>,<<11 bytes>>,<<15 bytes>>,<<4 bytes>>,<<57 bytes>>,<<5 bytes>>,<<1 byte>>,<<7 bytes>>,<<10 bytes>>,<<7 bytes>>,<<6 bytes>>,<<7 bytes>>,<<7 bytes>>,<<6 bytes>>,<<12 bytes>>]},[{erlang,apply,2}]}\n"
any pointers will be of great help.
It seems a known MacPorts issue. For details, please refer to:
https://trac.macports.org/ticket/31698
Related
I did as the installation guide said:
"./configure", everything was fine;
"make", i got the following errors :
===== Compiling sim ====
YACC: expr.y
LEX: expr.lex
MSGC: sim_std.msg
make[2]: *** [Makefile:155:sim_std_m.cc] error 127
make[1]: *** [Makefile:118:sim] error 2
make: *** [Makefile:28:allmodes] error 2
PS:
The MD5 of "omnetpp-5.4-src-windows.zip" checks out;
Already tried with WinRAR and 7-zip to unzip, got same errors at the same stage;
Full path does not contain any space;
Even tried to install "omnetpp-5.3-src-windows.zip", got same errors at the same stage;
Also tried to install omnet++ with and without JDK(Java SE 10.0.1) + Mingw(or cygwin) installed, got same errors at the same stage;
Even tried to update the MSYS2 inside the omnet directory, then "./configure; make clean; make", got same errors at the same stage;
Already disable the Windows Defender;
I do exactly as installation guide says: run "./configure", "make (clean)" and other things in "mingwenv.cmd".
also tried to enable gcc instead of clang, same error;
I don't know what to do.
-------update-------
I reset my Win10, and then, first thing to do is try to install OMNet after the OS "come alive". Finally, it is OK.
Sorry i did not try any further. Thank you all.
I get the following error after updating to xcode 8 and I'm not sure how to fix.
Error:The C compiler "/usr/bin/cc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/username/Library/Caches/CLion2016.2/cmake/generated/CacheBack-27c25a9c/27c25a9c/__default__/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_e91e5/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_e91e5.dir/build.make CMakeFiles/cmTC_e91e5.dir/build
Building C object CMakeFiles/cmTC_e91e5.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_e91e5.dir/testCCompiler.c.o -c /Users/username/Library/Caches/CLion2016.2/cmake/generated/CacheBack-27c25a9c/27c25a9c/__default__/CMakeFiles/CMakeTmp/testCCompiler.c
cc: error: unable to find utility "clang", not a developer tool or in PATH
make[1]: *** [CMakeFiles/cmTC_e91e5.dir/testCCompiler.c.o] Error 72
make: *** [cmTC_e91e5/fast] Error 2
CMake will not be able to correctly generate this project.
Please check
xcode-select -p, make sure it points to Xcode 8 installation and run xcode-select --install after that.
I had to accept the license dialog after starting Xcode to get the updated components. After that I restarted Clion and it worked.
OS X: El Captain
I am trying to install libnfc-1.7.1 as RFID Reader Kiosk for (ACR122U).
It worked on raspberry pi from this url, but the libnfc's installation was unsuccessful on my mac.
had Installed MacPorts-2.3.4-10.11-ElCapitan
Then executed these commands on terminal:
// just comments
sudo port -v selfupdate // stack overflow
sudo port upgrade outdated // suggested by terminal
sudo port install libusb-legacy //source libnfc community website
The rest of the steps were from this link:
wget https://bintray.com/artifact/download/nfc-tools/sources/libnfc-1.7.1.tar.bz2
tar -xvzf libnfc-x.x.x.tar.gz
cd libnfc-x.x.x
./configure --prefix=/usr -sysconfdir=/etc
make
brew update && brew upgrade
sudo make install
a warning showed up while executing "make":
arygon.c:94:22: warning: unused variable 'arygon_error_incomplete_command'
[-Wunused-const-variable]
static const uint8_t arygon_error_incomplete_command[] = "FF0C0000\x0d\x0a";
I even tried:
make clean && make
later on "sudo make install" errored:
~/Downloads/libnfc-1.7.1$ sudo make install
Making install in libnfc
Making install in chips
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in buses
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in drivers
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in .
test -z "/usr/lib" || .././install-sh -c -d "/usr/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c libnfc.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libnfc.5.dylib /usr/lib/libnfc.5.dylib
install: /usr/lib/libnfc.5.dylib: Operation not permitted
make[3]: *** [install-libLTLIBRARIES] Error 71
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
The error message is simialr to this issue
The user admin privileges were verified.
An issue was opened on libnfc's github, but no one is answering since February.
Please help me get the libnfc installation sorted out as RFID Reader Kiosk if possible.
I have looked into similar problem. I had a hunch that libusb might be involved.
libsub
normal installtion steps:
./configure
sudo make
sudo make install
After that installing libnfc-1.7.1:
./configure
sudo make
sudo make install
libnfc is running from my mac El Captain.
This is straight fresh from Terminal:
nfc-list uses libnfc 1.7.1
error libnfc.driver.acr122_usb Unable to claim USB interface (Resource busy)
nfc-list: ERROR: Unable to open NFC device: acr122_usb:001:006-072f-2200-00-00
At the moment libnfc is telling something from the terminal, but not recognizing nfc tags.
I will be researching now
this is working:
but not efficient
...up to date possible solutions could be found here:
#330 github
I have attempted most of them except for the ext dummy kernal.
I built an Xcode project from CMake and when I attempt to build it I get the following error.
PhaseScriptExecution CMake\ Rules /Users/LaserTech/NewBuild/Myjob2/NameCreate.build/Debug/lsjob2.build/Script-E70CB352E1334BCA9B8BE7C1.sh
cd /Users/LaserTech/NameCreate-OSG-Qt5
/bin/sh -c /Users/LaserTech/NewBuild/Myjob2/NameCreate.build/Debug/Myjob2.build/Script-E70CB352E1334BCA9B8BE7C1.sh
make: *** No rule to make target `/Users/LaserTech/NameCreate-OSG-Qt5/Myjob2/PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND', needed by `/Users/LaserTech/NewBuild/Myjob2/common.pb.cc'. Stop.
Command /bin/sh failed with exit code 2
I am not sure what this means. I would appreciate it if someone could shine some light onto what I should be looking at ?
Update:
I did have thoses packages installed. I needed to simply add the path to the binaries to the environment variable. However now xcode is giving me this
echo "Running C++ protocol buffer compiler on protocol/common.proto"
Running C++ protocol buffer compiler on protocol/common.proto
/Users/..../cmake/osxbuild/Release --cpp_out /Users/..../Myjob2 -I /Users/.../Myjob2/protocol /Users/../Myjob2/protocol/common.proto
make: /Users/.../protobuf/cmake/osxbuild/Release: Permission denied
make: *** [/Users/../NewBuild/Myjob2/common.pb.cc] Error 1
I'm trying to compile the latest release of vlc for Windows using this tutorial: https://wiki.videolan.org/Win32Compile/
I'm compiling with Ubuntu 13.04 and using the host triplet i686-w64-mingw32.
Everything runs fine until "Building VLC". This is the error:
make[4]: Entering directory `/home/nuno/tpplugins/vlc/win32/modules'
CCLD libavio_plugin.la
/home/nuno/tpplugins/vlc/contrib/i686-w64-mingw32/lib/libavutil.a(time.o): In function `av_usleep':
/home/funman/vlc-git/contrib/win32/ffmpeg/libavutil/time.c:60: undefined reference to `_nanosleep'
collect2: ld returned 1 exit status
make[4]: * [libavio_plugin.la] Error 1
Any ideas how to solve this? My gcc version is 4.8.1.
Recently had the same issue.
To resolve, try the following steps:-
sudo apt-get install yasm
cd contrib/win32
make .ffmpeg
make .gnutls
Then try to continue your make of vlc and hopefully all will be well.