-
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.
-
![Quote](images/misc/quote_icon.png)
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
![Juniper Networks EX2300-C-12T Compact 12-Port EX2300-C Series Ethernet Switch picture](/store/img/g/Dh4AAOSw3Chmbx7U/s-l225/Juniper-Networks-EX2300-C-12T-Compact-12-Port-EX23.jpg)
Juniper Networks EX2300-C-12T Compact 12-Port EX2300-C Series Ethernet Switch
$300.00
![Juniper Networks MX80-AC Router 4 Port XFP 10G MIC-3D-200E-SFP picture](/store/img/g/WQAAAOSwgCdmfd3B/s-l225/Juniper-Networks-MX80-AC-Router-4-Port-XFP-10G-MIC.jpg)
Juniper Networks MX80-AC Router 4 Port XFP 10G MIC-3D-200E-SFP
$600.00
![Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture](/store/img/g/QUAAAOSw9lllAhVU/s-l225/Juniper-Networks-EX3300-EX3300-48P-48-Port-Gigabit.jpg)
Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch
$59.95
![Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord picture](/store/img/g/MswAAOSwuMBl7vhO/s-l225/Juniper-Networks-EX3300-24P-24-Port-Gigabit-Networ.jpg)
Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord
$53.99
![Juniper Networks EX2200-C-12P-2G Gigabit Ethernet Managed Switch picture](/store/img/g/dbUAAOSwFd1mey3A/s-l225/Juniper-Networks-EX2200-C-12P-2G-Gigabit-Ethernet-.jpg)
Juniper Networks EX2200-C-12P-2G Gigabit Ethernet Managed Switch
$79.99
![Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture](/store/img/g/INMAAOSw6ydmBcA-/s-l225/Juniper-EX3400-48P-48-Ports-PoE-4x-SFP-and-2x-QSFP.jpg)
Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested
$135.00
![Juniper MPC5E-100G10G-A picture](/store/img/g/7bAAAOSwg~5mCESz/s-l225/Juniper-MPC5E-100G10G-A.jpg)
Juniper MPC5E-100G10G-A
$5985.00
![Juniper MPC5E-100G10G-A picture](/store/img/g/gPoAAOSwBG5mFFMG/s-l225/Juniper-MPC5E-100G10G-A.jpg)
Juniper MPC5E-100G10G-A
$5985.00
![Juniper Networks EX4400-48MP 48 port 5GbE + 12 port 10 Gigabit PoE++ Switch -NEW picture](/store/img/g/QesAAOSw07hmSVQ3/s-l225/Juniper-Networks-EX4400-48MP-48-port-5GbE-12-port-.jpg)
Juniper Networks EX4400-48MP 48 port 5GbE + 12 port 10 Gigabit PoE++ Switch -NEW
$1400.00
![Juniper Networks EX2300-48P 48 Port Gigabit PoE 4 SFP 1/10G Network Switch picture](/store/img/g/VHMAAOSwonVme2lj/s-l225/Juniper-Networks-EX2300-48P-48-Port-Gigabit-PoE-4-.jpg)
Juniper Networks EX2300-48P 48 Port Gigabit PoE 4 SFP 1/10G Network Switch
$185.00