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
  •  


~DAILY DEALZ~ 14

~DAILY DEALZ~ 14" HP EliteBook Laptop PC: Intel i5 8GB RAM 256GB SSD Webcam

$199.49



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$35.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$15.85



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



G.SKILL Trident Z RGB 16GB 2x 8GB 3200MHz DDR4 Desktop RAM F4-3200C16S-8GTZR picture

G.SKILL Trident Z RGB 16GB 2x 8GB 3200MHz DDR4 Desktop RAM F4-3200C16S-8GTZR

$38.99



CORSAIR Vengeance LPX 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3200 (PC4 28800) picture

CORSAIR Vengeance LPX 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3200 (PC4 28800)

$39.00



Crucial 16GB (2x 8GB) Kit DDR3 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$21.95



Corsair Vengeance 32GB 16GB 8GB DDR3 1600MHz 1866MHz 2133MHz 2400MHz Memory LOT picture

Corsair Vengeance 32GB 16GB 8GB DDR3 1600MHz 1866MHz 2133MHz 2400MHz Memory LOT

$79.99