Date: Sun, 1 Jun 2014 13:17:32 -0700 From: Alfred Perlstein <bright@mu.org> To: Alfred Perlstein <alfred@freebsd.org> Cc: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: virtualbox-ose cannot compile Message-ID: <EEE106FD-3C11-404A-92D2-A3F9C5A17CEE@mu.org>
next in thread | raw e-mail | index | archive | help
By the way, can you not use pkg to install it? (This is what I do) Sent from my iPhone > On Jun 1, 2014, at 12:53 PM, Alfred Perlstein <alfred@freebsd.org> wrote: >=20 > This is beyond what I can figure out. Very sorry. >=20 >> On 6/1/14, 12:37 PM, Wojciech Puchar wrote: >> installed gcc48 from ports >> used USE_GCC=3D4.8 >>=20 >> still failed >>=20 >> linked /usr/local/bin/gcc48 to /usr/local/bin/gcc >>=20 >> it compiled now. >>=20 >> but fails to run >> VirtualBox: Error -610 in supR3HardenedMainInitRuntime! >> VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed: /usr/l= ocal/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/loca= l/lib/virtualbox/VBoxRT.so not found >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>> On Sun, 1 Jun 2014, Alfred Perlstein wrote: >>>=20 >>>=20 >>>> On 6/1/14, 11:00 AM, Wojciech Puchar wrote: >>>> [root@s1 /usr/ports/emulators/virtualbox-ose]# make USE_GCC=3Dyes >>>> =3D=3D=3D> virtualbox-ose-4.3.12_1 Unknown version of GCC specified (U= SE_GCC=3Dyes). >>>>=20 >>>> more options needed? >>>=20 >>> Maybe try "USE_GCC=3Dany" or something like "USE_GCC=3D4.8+" is what I a= m seeing in other ports. >>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>> On Sun, 1 Jun 2014, Alfred Perlstein wrote: >>>>>=20 >>>>>> On 6/1/14 8:57 AM, Wojciech Puchar wrote: >>>>>>=20 >>>>>> kBuild: Compiling VBoxOGLhosterrorspu - /usr/ports/emulators/virtualb= ox-ose/work/VirtualBox-4.3.12/src/VBox/GuestHost/OpenGL/e >>>>>> rror/errorspu_init.c >>>>>> kBuild: Compiling VBoxVNCMain - /usr/ports/emulators/virtualbox-ose/w= ork/VirtualBox-4.3.12/src/VBox/ExtPacks/VNC/VBoxVNCMain.c >>>>>> pp >>>>>> kBuild: Compiling VBoxVNC - /usr/ports/emulators/virtualbox-ose/work/= VirtualBox-4.3.12/src/VBox/ExtPacks/VNC/VBoxVNC.cpp >>>>>> kBuild: Compiling VBoxRemPrimary - /usr/ports/emulators/virtualbox-os= e/work/VirtualBox-4.3.12/src/recompiler/VBoxRecompiler.c >>>>>> kmk: gcc: Command not found >>>>>> kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/= out/freebsd.amd64/release/obj/VBoxRemPrimary/VBoxRecompiler.o] Error 127 >>>>>> The failing command: >>>>>> @gcc -c -O2 -g -pipe -Wall -Wextra -Wno-missing-field-initializers -W= no-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter -Wn= o-long-long -Wno-long-long -Werror-implicit-function-declaration -Wno-variad= ic-macros -O2 -mtune=3Dgeneric -fno-omit-frame-pointer -fno-strict-aliasing -= fvisibility=3Dhidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAU= LT -fPIC -Wno-sign-compare -Werror-implicit-function-declaration -m64 -I/usr= /ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler/Sun/cr= t -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompile= r/Sun -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recom= piler/target-i386 -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.= 12/src/recompiler/tcg -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-= 4.3.12/src/recompiler/fpu -I/usr/ports/emulators/virtualbox-ose/work/Virtual= Box-4.3.12/out/freebsd.amd64/release/obj/VBoxRemPrimary -I/usr/ports/emulato= rs/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/VMM/include -I/usr/ports/e= mulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler/tcg/i386 -I/us= r/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler -I/us= r/include -I/usr/X11R6/include -I/usr/local/include -I/usr/ports/emulators/v= irtualbox-ose/work/VirtualBox-4.3.12/out/freebsd.amd64/release/obj/VBoxRemPr= imary/dtrace -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/in= clude -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/out/freeb= sd.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DE= BUGGER -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH= _HARDENING -DRTPATH_APP_PRIVATE=3D\"/usr/local/share/virtualbox-ose\" -DRTPA= TH_APP_PRIVATE_ARCH=3D\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=3D\= "/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=3D\"/usr/local/share/doc/virt= ualbox-ose\" -DIN_RING3 -DHC_ARCH_BITS=3D64 -DGC_ARCH_BITS=3D64 -DPIC -DIN_R= EM_R3 -DREM_INCLUDE_CPU_H -DNEED_CPU_H -DVBOX_WITH_RAW_MODE -DVBOX_WITH_RAW_= RING1 -DLOG_USE_C99 -D_BSD -D__x86_64__ -Wp,-MD,/usr/ports/emulators/virtual= box-ose/work/VirtualBox-4.3.12/out/freebsd.amd64/release/obj/VBoxRemPrimary/= VBoxRecompiler.o.dep -Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/Virtua= lBox-4.3.12/out/freebsd.amd64/release/obj/VBoxRemPrimary/VBoxRecompiler.o -W= p,-MP -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox >>>>>>=20 >>>>>>=20 >>>>>> if gcc is needed, and is not specified in dependencies please tell me= what gcc in /usr/ports/lang should i install >>>>>>=20 >>>>>> or maybe - how to install gcc from base system as it is no longer com= piled by default with make buildworld >>>>>>=20 >>>>>> FreeBSD s1.3miasto.net.pl 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Tue A= pr 8 14:01:53 CEST 2014 root@s1.3miasto.net.pl:/usr/src/sys/amd64/compile/s1= amd64 >>>>>>=20 >>>>>=20 >>>>> Please try adding: >>>>> "USE_GCC=3D yes" >>>>> to the Makefile for the port. >>>>>=20 >>>>> -Alfred >>>>> _______________________________________________ >>>>> freebsd-ports@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>>>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.or= g" >>>>>=20 >>>>>=20 >>>> _______________________________________________ >>>> freebsd-ports@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org= " >>>>=20 >>>=20 >>> _______________________________________________ >>> freebsd-ports@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"= >>>=20 >>>=20 >>=20 >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EEE106FD-3C11-404A-92D2-A3F9C5A17CEE>