Results 1 to 5 of 5

Thread: g++ and knoppix

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    8

    g++ and knoppix

    i've tried to install lactivemq-cpp libraries, but i get error:
    Code:
    checking for pthread_create in -lpthread... no configure: error: libpthread not found!
    but lpthread.so is in a directory /usr/lib nevermind. i've tried to compile an example program in c++ and i get error:
    Code:
    g++: command not found
    how to install g++ using apt-get? there is no "build-essential" (like in ubuntu) in repositories

  2. #2
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    Try using aptitude. You didn't say which version of knoppix you are using , but in 6.0.2 ,
    Code:
    aptitude update
    followed by
    Code:
    apt-cache policy build-essential
    will show that it is in indeed available.
    Code:
    aptitude install build-essential
    will install it, you will have to reject it's first attemp and accept a downgrade of some other packages before it will install. Then you should be able use aptitude to install the libraries.

    Good luck.

  3. #3
    Junior Member
    Join Date
    Sep 2010
    Posts
    8
    Quote Originally Posted by rusty View Post
    Try using aptitude. You didn't say which version of knoppix you are using , but in 6.0.2 ,
    Code:
    aptitude update
    followed by
    Code:
    apt-cache policy build-essential
    will show that it is in indeed available.
    Code:
    aptitude install build-essential
    will install it, you will have to reject it's first attemp and accept a downgrade of some other packages before it will install. Then you should be able use aptitude to install the libraries.

    Good luck.
    thanks. it works. but when i try to install lactivemqq-cpp, i have error:
    Code:
     /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ext/new_allocator.h:108: error: no matching function for call to 'operator new(unsigned int, void*)' :0: note: candidates are: void* operator new(unsigned int) make[2]: *** [activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo] Error 1 make[2]: Leaving directory `/home/knoppix/activemq-cpp-library-3.1.3/src/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/knoppix/activemq-cpp-library-3.1.3' make: *** [all] Error 2
    what's wrong

  4. #4
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    Not sure, perhaps posting in one of the Activemq forums would yield an answer.

  5. #5
    Junior Member
    Join Date
    Sep 2010
    Posts
    8
    cpp.cpp: [code]#include using namespace std ; int main(int argc, char ** argv) { cout

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$340.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$275.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R620 Server 2x Xeon  E5-2620 @ 2.0GHz 64GB RAM NO HDDs picture

Dell PowerEdge R620 Server 2x Xeon E5-2620 @ 2.0GHz 64GB RAM NO HDDs

$108.96



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell PowerEdge R620 Server - 256GB RAM, 2x8c CPU, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8c CPU, 128Gb SSD/3x600Gb SAS, Proxmox

$320.00



Dell PowerEdge R630 2x Xeon E5-2630 V4 2.20GHZ 128GB DDR4-2133MHZ 2x 750W PSU picture

Dell PowerEdge R630 2x Xeon E5-2630 V4 2.20GHZ 128GB DDR4-2133MHZ 2x 750W PSU

$170.95



DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45

$444.00



DELL PowerEdge R730 Server 2x E5-2643v3 3.4GHz =12 Cores 64GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2643v3 3.4GHz =12 Cores 64GB H730 4xRJ45

$306.00