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
  •  


LSI 9305-16i SATA SAS 12Gbs RAID Controller Host Bus Adapter PCIe 3.0 x8 IT-Mode picture

LSI 9305-16i SATA SAS 12Gbs RAID Controller Host Bus Adapter PCIe 3.0 x8 IT-Mode

$199.99



HPE 869102-001 Smart Array E208i-a SR Gen10 Storage Controller RAID SP: 871039 picture

HPE 869102-001 Smart Array E208i-a SR Gen10 Storage Controller RAID SP: 871039

$116.99



Lot of 4 - Genuine Dell (62P9H) PERC H710 512MB Mini Blade 6Gbps SAS Raid picture

Lot of 4 - Genuine Dell (62P9H) PERC H710 512MB Mini Blade 6Gbps SAS Raid

$44.99



Dell (WMVFG) PERC H730 1GB NV Mini Raid Controller /w Battery - Blade picture

Dell (WMVFG) PERC H730 1GB NV Mini Raid Controller /w Battery - Blade

$44.99



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



Dell PowerEdge RAID Controller HBA330 12Gbs PCIe 3.0 SAS SATA J7TNV Low Profile picture

Dell PowerEdge RAID Controller HBA330 12Gbs PCIe 3.0 SAS SATA J7TNV Low Profile

$29.00



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$109.99



NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0 picture

NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0

$99.00



G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply picture

G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply

$99.99