[vbox-dev] problems compiling VB 4.1.10 on Fedora 16

Frank Mehnert frank.mehnert at oracle.com
Fri Mar 16 09:35:40 GMT 2012


Hi Perry,

did you run

  ./configure --enable-webservice

again? In that case, stdsoap2.cpp should not be required anymore
as VBOX_GSOAP_CXX_SOURCES will be set to empty.

In the previous fix for configure not all required libraries were
added because on some systems, libgsoapssl++ depends on libssl.
Therefore I introduced pkg-config support for detecting gsoap.

Could you do 'svn update', run './configure --enable-webservice'
again and check if it compiles now?

Kind regards,

Frank

On Friday 16 March 2012 08:50:07 Frank Mehnert wrote:
> Hi Perry,
> 
> this is a surprise as I managed it to compile VBox with gsoap from
> Fedora 16. Let me check that again.
> 
> Frank
> 
> On Thursday 15 March 2012 19:19:46 Perry Halbert wrote:
> > Help me understand this a little better.
> > 
> > So I *want* to build in the web-service and applied the patches.  It
> > errors out using gSOAP >2.7.9f because of missing files. such as
> > "stdsoap2.cpp" which were depricated in version 4.8. Is there a
> > different package I should be using?
> > 
> > On 03/15/2012 08:27 AM, Frank Mehnert wrote:
> > > The real fix can be found in r40476 and r40477. You should be able to
> > > apply these fixes to VBox 4.1.10 as well.
> > > 
> > > Kind regards,
> > > 
> > > Frank
> > > 
> > > On Thursday 15 March 2012 11:20:39 Frank Mehnert wrote:
> > >> An alternative solution is to disable SSL support for the webservices
> > >> by adding
> > >> 
> > >>    VBOX_WITH_WEBSERVICES_SSL :=
> > >> 
> > >> to LocalConfig.kmk. The problem is that we are still using a quite old
> > >> version of the webservices for building our packages (2.7.12) and did
> > >> not properly test how it compiles against newer webservices.
> > >> 
> > >> Kind regards,
> > >> 
> > >> Frank
> > >> 
> > >> On Thursday 15 March 2012 04:28:40 Perry Halbert wrote:
> > >>> I believe you need Gsoap version 2.7.9f or g installed to handle this
> > >>> and httpd on the machine or it will give you more errors later.
> > >>> 
> > >>> You might want to read a little here:
> > >>> https://forums.virtualbox.org/viewtopic.php?f=31&t=48445
> > >>> 
> > >>> In fact this would be better handled at the forums instead of the DEV
> > >>> list IMHO.
> > >>> 
> > >>> On 03/14/2012 10:15 PM, Sérgio Basto wrote:
> > >>>> On Wed, 2012-03-14 at 17:27 +0000, Sérgio Basto wrote:
> > >>>>> Hi,
> > >>>>> 
> > >>>>> install: cannot stat `obj/bin/vboxwebsrv': No such file or
> > >>>>> directory
> > >>>>> install: cannot stat `obj/bin/webtest': No such file or directory
> > >>>>> 
> > >>>>> with --enable-webservice
> > >>>>> gives a undefined reference to soap_ssl_server_context
> > >>>> 
> > >>>> I got this, to be more precise :
> > >>>> /builddir/build/BUILD/VirtualBox-4.1.10/obj/obj/vboxwebsrv/vboxweb.o
> > >>>> : In function `SoapThread::process()':
> > >>>> /builddir/build/BUILD/VirtualBox-4.1.10/src/VBox/Main/webservice/vbo
> > >>>> xw e b. cpp:583: undefined reference to `soap_ssl_accept'
> > >>>> /builddir/build/BUILD/VirtualBox-4.1.10/obj/obj/vboxwebsrv/vboxweb.o
> > >>>> : In function `doQueuesLoop()':
> > >>>> /builddir/build/BUILD/VirtualBox-4.1.10/src/VBox/Main/webservice/vbo
> > >>>> xw e b. cpp:915: undefined reference to `soap_ssl_server_context'
> > >>>> /builddir/build/BUILD/VirtualBox-4.1.10/obj/obj/vboxwebsrv/vboxweb.
> > >>>> o: In function `main':
> > >>>> /builddir/build/BUILD/VirtualBox-4.1.10/src/VBox/Main/webservice/vbo
> > >>>> xw e b. cpp:1227: undefined reference to `soap_ssl_init' collect2:
> > >>>> ld returned 1 exit status
> > >>>> kmk: ***
> > >>>> [/builddir/build/BUILD/VirtualBox-4.1.10/obj/obj/vboxwebsrv/vboxwebs
> > >>>> rv ] Error 1
> > >>>> kmk: *** Waiting for unfinished jobs...
> > >>>> 
> > >>>>> I use :
> > >>>>> ./configure --disable-kmods --disable-java
> > >>>>> . ./env.sh
> > >>>>> kmk %{_smp_mflags} \
> > >>>>> 
> > >>>>>       KBUILD_VERBOSE=2 TOOL_YASM_AS=yasm PATH_OUT="$PWD/obj"      \
> > >>>>>       VBOX_PATH_APP_PRIVATE=%{_libdir}/virtualbox         \
> > >>>>>       VBOX_WITH_REGISTRATION_REQUEST= VBOX_WITH_UPDATE_REQUEST=   \
> > >>>>>       VBOX_GCC_OPT="%{optflags}" VBOX_GCC_GC_OPT="%{optflags}"    \
> > >>>>>       VBOX_GCC_R0_OPT="%{optflags}" VBOX_GCC_WERR=""          \
> > >>>>>       VBOX_XCURSOR_LIBS="Xcursor Xext X11 GL"             \
> > >>>>>       VBOX_JAVA_HOME=%{_prefix}/lib/jvm/java
> > >>>>> 
> > >>>>> Thanks,
> > > 
> > > _______________________________________________
> > > vbox-dev mailing list
> > > vbox-dev at virtualbox.org
> > > https://www.virtualbox.org/mailman/listinfo/vbox-dev

-- 
Dr.-Ing. Frank Mehnert
Senior Manager Software Development Desktop Virtualization, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120316/cdcde4a4/attachment.sig>


More information about the vbox-dev mailing list