LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-23-2017, 10:19 AM   #1
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Rep: Reputation: 1
error when configure virtualbox 5.1.20


when i try to configure virtual box i have an error


configure.log:
Code:
# Log file generated by
#
#   './configure --disable-kmods --enable-vde --enable-vnc --with-makeself=/usr/bin/echo --enable-webservice --enable-hardening'
#

***** Checking environment *****
Determined build machine: linux.amd64, target machine: linux.amd64


***** Checking kBuild *****
found


***** Checking gcc *****
found version 5.3.0


***** Checking Open Watcom *****
** Open Watcom was not found!

***** Checking iasl *****
found version 20170303


***** Checking xslt *****
found


***** Checking mkisofs *****
found mkisofs 3.01-fix-20151126 (x86_64-unknown-linux-gnu) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2015 Joerg Schilling


***** Checking pthread *****
compiling the following source file:
#include <cstdio>
#include <pthread.h>
extern "C" int main(void)
{
  pthread_mutex_t mutex;
  if (pthread_mutex_init(&mutex, NULL)) {
    printf("pthread_mutex_init() failed\n");
    return 1;
  }
  if (pthread_mutex_lock(&mutex)) {
    printf("pthread_mutex_lock() failed\n");
    return 1;
  }
  if (pthread_mutex_unlock(&mutex)) {
    printf("pthread_mutex_unlock() failed\n");
    return 1;
  }
  printf("found, OK.\n");
}
using the following command line:
g++  -fPIC -g -O -Wall -o /usr/src/virtualbox/tmp/VirtualBox-5.1.20/.tmp_out /usr/src/virtualbox/tmp/VirtualBox-5.1.20/.tmp_src.cc "-lpthread"
executing the binary
found, OK.


***** Checking libxml2 *****
compiling the following source file:
#include <cstdio>
#include <libxml/xmlversion.h>
extern "C" int main(void)
{
  printf("found version %s", LIBXML_DOTTED_VERSION);
#if LIBXML_VERSION >= 20626
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.6.26 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -fPIC -g -O -Wall -o /usr/src/virtualbox/tmp/VirtualBox-5.1.20/.tmp_out /usr/src/virtualbox/tmp/VirtualBox-5.1.20/.tmp_src.cc "-lxml2 -lpthread -I/usr/include/libxml2"
executing the binary
found version 2.9.4, OK.


***** Checking libIDL *****
found version 0.8.14


***** Checking ssl *****
compiling the following source file:
#include <cstdio>
#include <openssl/opensslv.h>
#include <openssl/ssl.h>
extern "C" int main(void)
{
  printf("found version %s", OPENSSL_VERSION_TEXT);
  SSL_library_init();
#if OPENSSL_VERSION_NUMBER >= 0x00908000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 0.9.8 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -fPIC -g -O -Wall -o /usr/src/virtualbox/tmp/VirtualBox-5.1.20/.tmp_out /usr/src/virtualbox/tmp/VirtualBox-5.1.20/.tmp_src.cc " -lssl -lcrypto"
executing the binary
found version OpenSSL 1.0.2h  3 May 2016, OK.


***** Checking libcurl *****
compiling the following source file:
#include <cstdio>
#include <curl/curl.h>
extern "C" int main(void)
{
  printf("found version %s", LIBCURL_VERSION);
#if 10000*LIBCURL_VERSION_MAJOR + 100*LIBCURL_VERSION_MINOR + LIBCURL_VERSION_PATCH >= 71901
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 7.19.1 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -fPIC -g -O -Wall -o /usr/src/virtualbox/tmp/VirtualBox-5.1.20/.tmp_out /usr/src/virtualbox/tmp/VirtualBox-5.1.20/.tmp_src.cc "-lcurl "
In file included from /usr/include/curl/curl.h:35:0,
                 from /usr/src/virtualbox/tmp/VirtualBox-5.1.20/.tmp_src.cc:2:
/usr/include/curl/curlrules.h:143:41: error: size of array '__curl_rule_01__' is negative
     [CurlchkszEQ(long, CURL_SIZEOF_LONG)];
                                         ^
/usr/include/curl/curlrules.h:153:53: error: size of array '__curl_rule_02__' is negative
     [CurlchkszEQ(curl_off_t, CURL_SIZEOF_CURL_OFF_T)];
                                                     ^
but i have curl:
Code:
/usr/lib/libcurl.la
/usr/lib/libcurl.so.4.4.0
/usr/lib/pkgconfig/libcurl.pc
/usr/lib/libcurl.so.4
/usr/lib/libcurl.so
/usr/lib64/libcurl.la
/usr/lib64/libcurl.so.4.4.0
/usr/lib64/pkgconfig/libcurl.pc
/usr/lib64/libcurl.so.4
/usr/lib64/libcurl.so
/usr/share/aclocal/libcurl.m4
/usr/man/man3/libcurl-errors.3.gz
/usr/man/man3/libcurl-multi.3.gz
/usr/man/man3/libcurl-symbols.3.gz
/usr/man/man3/libcurl-easy.3.gz
/usr/man/man3/libcurl-thread.3.gz
/usr/man/man3/libcurl-tutorial.3.gz
/usr/man/man3/libcurl.3.gz
/usr/man/man3/libcurl-share.3.gz
how can i fix it?
 
Old 04-23-2017, 11:10 AM   #2
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
From the looks of it you're trying to cross-compile a 32bit virtualbox on a 64bit host. But curl doesn't seem to support that. This bug report shows that curl's headers are architecture specific, so you can't use the headers of the x86_64 package to compile a 32bit virtualbox, but that's what you would need.

Anyway, that's most likely not what you would *want*. Are you sure you want a 32bit version of virtualbox?
 
2 members found this post helpful.
Old 04-23-2017, 12:15 PM   #3
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ppr:kut View Post
From the looks of it you're trying to cross-compile a 32bit virtualbox on a 64bit host. But curl doesn't seem to support that. This bug report shows that curl's headers are architecture specific, so you can't use the headers of the x86_64 package to compile a 32bit virtualbox, but that's what you would need.

Anyway, that's most likely not what you would *want*. Are you sure you want a 32bit version of virtualbox?
thanks! yes, i not realy need 32bit virtualbox.

i have multilib system with compat32 curl - it is do not help? is it a bug of curl?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
virtualbox will not configure in Kali Sana BooBerry Linux - Software 2 05-06-2016 09:00 PM
[SOLVED] How to configure audio in VirtualBox guest? lionoceros Slackware 1 02-09-2014 11:32 AM
[SOLVED] how to configure bridge networking virtualbox on slackware 13.37 ? wubai Linux - Virtualization and Cloud 1 09-02-2012 01:41 AM
configure error: configure: error: cannot execute: /usr/local/bin/arm-apple-darwin-ld GunNam Linux - General 0 10-24-2008 08:26 PM
Configure USB in Windows XP guest at virtualbox nos1833 Debian 1 03-07-2008 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration