-
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
-
Senior Member
registered user
Try using aptitude. You didn't say which version of knoppix you are using , but in 6.0.2 , 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.
-
Originally Posted by
rusty
Try using aptitude. You didn't say which version of knoppix you are using , but in 6.0.2 ,
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
-
Senior Member
registered user
Not sure, perhaps posting in one of the Activemq forums would yield an answer.
-
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
-
Forum Rules
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$89.00
New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module
$69.99
10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module
$85.00
New Cisco w/ Green Hologram SFP-10G-LR-S 10G SFP+ LR 1310nm 10km SMF LC Module
$34.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$10.99
NEW FS SFP-10G-T 10GBASE T SFP+ 30M Transceiver Module (Lot of 1)
$39.95
Genuine Cisco GLC-TE 30-1475-01 V01 1000BASE-T SFP COPPER RJ-45 100M TRANSCEIVER
$11.90
Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$65.00
New Cisco w/ Green Hologram GLC-TE 1G SFP Copper RJ45 100m Module
$29.99