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
  •  


Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



1TB Samsung 840 EVO Internal 2.5

1TB Samsung 840 EVO Internal 2.5" SATA III SSD MZ7TE1T0HMHP Solid State Drive

$69.83



Intel 1TB SSD M.2 7600P PCIE NVME 3D-NAND SSDPEKKF010T8L 8SSSS0L2513N4PT09L00KE picture

Intel 1TB SSD M.2 7600P PCIE NVME 3D-NAND SSDPEKKF010T8L 8SSSS0L2513N4PT09L00KE

$106.99



Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe picture

Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe

$109.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.89



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$580.99



Apple 1TB Solid State Drive for Apple MacBook Pro picture

Apple 1TB Solid State Drive for Apple MacBook Pro

$80.00