-
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
H261-Z61 2U 24SFF AMD Server 8x EPYC 7702 512-Cores 2048GB RAM 8x25G NIC 2x2200W
$13292.18
Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W
$3350.00
HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES
$199.99
HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD
$249.99
acer AC100 MicroServer, Xeon E3-1260L 2.40GHz, 16GB RAM, No HDD
$87.17
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
Supermicro E300-8D Xeon D-1518 2.20GHz Mini Server
$574.99
Supermicro 5018A-FTN4 Rack Server - Black
$125.00
Supermicro 1U X11DPU 2x Xeon Gold 6132 2.6GHz / 128gb / 10x 2.5 Trays / 2x 750w
$649.99
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$297.00