I'm going to install the jdk1.7 on my macbook. But I cannot make it proper to be installed.
I confronted an error which states that
line 27: hg: command not found.
https://github.com/hgomez/obuildfactory/wiki/Building-and-Packaging-OpenJDK7-for-OSX
And I was following the above steps till I entered this code segment.
XBUILD=true ./obuildfactory/openjdk7/macosx/standalone-job.sh
I've fixed it by installing the official binary file instead of using brew verison. But I encountered another problem, which is as follows.
openjdkathome/sources/openjdk7/hotspot/src/share/vm/adlc/adlparse.cpp:4515:17: note:
use '=' to turn this equality comparison into an assignment
if( (second == '=') ) {
^~
=
5 errors generated.
make[8]: *** [../generated/adfiles/adlparse.o] Error 1
make[7]: *** [ad_stuff] Error 2
make[6]: *** [product] Error 2
make[5]: *** [generic_build2] Error 2
make[4]: *** [product] Error 2
make[3]: *** [all_product_universal] Error 2
make[2]: *** [universal_product] Error 2
make[1]: *** [hotspot-build] Error 2
make: *** [build_product_image] Error 2
hg is the Mercurial command line command - which the linked document says you should have installed from MacPorts or homebrew.
Related
I am trying to merge code with the kernel and then compile, but when I run make prepare, I get the following error:
[root#localhost 5.4.231-1.el7.elrepo.x86_64]# make prepare
/usr/src/kernels/5.4.231-1.el7.elrepo.x86_64/Makefile:678: include/config/auto.conf.cmd: No such file or directory
scripts/kconfig/conf --syncconfig Kconfig
Kconfig:34: can't open file "Documentation/Kconfig"
make[3]: *** [syncconfig] Error 1
make[2]: *** [syncconfig] Error 2
make[1]: *** [include/config/auto.conf.cmd] Error 2
make: *** [sub-make] Error 2
[root#localhost 5.4.231-1.el7.elrepo.x86_64]#
I installed Kernel-LT-Devel and headers, and do not know what package I need to complete this requirement, and so I am stuck. Has anyone seen this error before?
Thanks
This is my first question in stack overflow and hope I make it clear.
I am trying to install a program (gmtsar) in fedora 32. However, the compilation was not complete and two errors return at the end.
I ran the following commands:
sudo -i
cd /usr/local
git clone --branch 6.0 https://github.com/gmtsar/gmtsar GMTSAR
cd GMTSAR
autoconf
./configure --with-orbits-dir=/usr/local/orbits
make
make install
after make and mak install the following errors return:
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:44: envi_slc_decode] Error 1
make[2]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc/ENVI_SLC_decode'
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc'
make: *** [Makefile:37: preprocess] Error 2
I followed the same procedures in ubuntu 16.04 and the compilation was complete without errors.
Can anyone help me understand why I got these errors and how to fix them, please?
I am building F# from source on my mac (yosemite).
I followed these steps.
git clone https://github.com/mono/mono
cd mono
./autogen.sh --prefix=/mono64 --enable-nls=no
make
During make I get an error
cd /Users/abhishek.srivastava/mono/mcs && /Applications/Xcode.app/Contents/Developer/usr/bin/make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14 ' CC='gcc' all-profiles
mkdir -p -- build/deps
make[6]: mcs: No such file or directory
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
*** The compiler 'mcs' doesn't appear to be usable.
*** You need Mono version 3.8 or better installed to build MCS
*** Check mono README for information on how to bootstrap a Mono installation.
/bin/sh: mcs: command not found
*** The version of 'mcs' is: .
make[5]: *** [do-profile-check] Error 1
make[4]: *** [profile-do--basic--all] Error 2
make[3]: *** [profiles-do--all] Error 2
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
LBURMAC603TG8WM:mono (master *=)$
Do make get-monolite-latest after autogen.sh and before making the rest.
Alternatively, any recent binary mono release can be installed and used for bootstrapping.
While installing gcc-3.4.6 (I really need only this version) I get this error
$ make 1>/dev/null
./unwind-dw2.c: In function `uw_frame_state_for':
./unwind-dw2.c:1031: error: field `info' has incomplete type
make[2]: *** [libgcc/32/unwind-dw2.o] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2
I found this question, but it does not solve the problem?
I am using Ubuntu 14.04 in VirtualBox.
I'm having problem in compiling the Intel DPDK on my Fedora and I really need that.
This is what I have in my terminal:
[gois#localhost dpdk-1.5.2r1]$ make install T=i686-default-linuxapp-gcc
================== Installing i686-default-linuxapp-gcc
== Build scripts
== Build scripts/testhost
== Build lib
== Build lib/librte_eal
== Build lib/librte_eal/common
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
make: *** /lib/modules/3.11.10-301.fc20.x86_64/build: File or directory not found. Stop.
make[7]: ** [igb_uio.ko] Error 2
make[6]: ** [igb_uio] Error 2
make[5]: ** [linuxapp] Error 2
make[4]: ** [librte_eal] Error 2
make[3]: ** [lib] Error 2
make[2]: ** [all] Error 2
make[1]: ** [i686-default-linuxapp-gcc_install] Error 2
make: ** [install] Error 2
Can someone help me please?
You should install linux headers:
yum install kernel-devel
Then build/ should be a symlink to files needed to build kernel modules.
It looks like RTE_KERNELDIR variable is not set correctly. The installer is not able to access kernel level parameters.