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
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch picture

Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch

$109.99



Western Digital  RED NASware 3.0 WD40EFRX 4 TB SATA III 3.5 in NAS HARD DRIVE picture

Western Digital RED NASware 3.0 WD40EFRX 4 TB SATA III 3.5 in NAS HARD DRIVE

$99.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.42



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

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

$26.85



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$209.99



WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN picture

WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN

$84.99