Jump to content

scaryfast

Members
  • Posts

    11
  • Joined

  • Last visited

scaryfast's Achievements

New Here

New Here (1/7)

0

Reputation

  1. Hi, thanks for the replies! I messed about with about every combination of package installaions I could manage, but it still wouldn't work! I reinstalled over '/' with i586 rather than x86_64 and it worked - well it overcame the original problem I had at least (still wouldn't compile completely, but that's a story for another day!). Phew, this learning curve is steep :D Even so, in the past few days I've gone from being a complete Linux newbie, to having a sweet looking KDE system with faster stats than I ever had before, and I've helped a friend get Mandriva running too!
  2. I'm trying to compile Superkaramba from source as I can't find an rpm for x86_64, however, after typing ./configure, after a while, I get: Qt (>= Qt 3.3) (library qt-mt) not found Now, I have installed (uninstalled and installed again) all the qt packages that make sense (screenshot below), but I still can't get it to configure past checking for Qt. $ whereis qt gives me: /usr/share/man/man3/qt.3qt.bz2 $ qt gives me: bash: qt: command not found Anybody able to help?
  3. I've just figured this out - #include <iostream> using namespace std; int main() { cout << "Hello World From About\n"; } I needed the 'namespace'. How embarrasing. Sorry.
  4. Hi. When I try compiling the following source using g++: #include <iostream> int main() { cout << "Hello, World\n"; return -1; } I get: hello.cc: In function `int main()': hello.cc:4: error: `cout' undeclared (first use this function) hello.cc:4: error: (Each undeclared identifier is reported only once for each function it appears in.) Can anyone help me fix this?
  5. Cool - that worked for my .c hello world, but for a .cc one that looks like this: #include <iostream> int main() { cout << "Hello, World\n"; return -1; } I get: error: `cout' undeclared (first use this function) error: (Each undeclared identifier is reported only once for each function it appears in.) I promise, I'll run out of problems soon. B)
  6. Woohoo! GCC and CC work... Though when I try compiling something with #include <iostream.h> I get the following error message: test.c:1:20: iostream: No such file or directory Should it do that? How can I fix it?
  7. The mystery unravels - thanks for your time :D I can only find one CD iso for the x86_64 version, and Easy Urpmi only gives me two sources (free/non-free plf) for packages when I specify AMD64. I have had problems with Python in Superkaramba too, so I'm thinking I might have munged everything... Would you recommend downloading the i586 DVD and starting from scratch? If so, how would I do this, and could I salvage anything (like my amaroK database and stuff)?
  8. I have searched again (using Find File) after turning off my machine for the evening, and - joy of joys - the file exists! :D It's in: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.4 I still get "cannot exec `cc1': No such file or directory" though, so now I assume it's a $PATH thing? Now what?!
  9. Thanks for the replies. I installed the packages you have suggested (gcc-cpp, libgcc1 and prcl-tools) but I still get the same message when trying to compile using gcc. I also searched my hard disk for cc1, but this failed to find anything. Any ideas?
  10. Hi, I have recently installed Mandriva Limited Edition 2005 for AMD64 and I have been unable to use GCC/CC to compile even a simple hello world example in C. I installed GCC using #rpmi gcc in a Konsole and currently have the following packages: gcc-3.4.3-7mdk gcc-c++-3.4.3-7mdk gcc-cpp-3.4.3-7mdk When trying to configure packages, or even with a simple hello world .c file using this line: #gcc -otest test.c I receive the following error: gcc: installation problem, cannot exec `cc1': No such file or directory I have seen similar problems in other threads, but they don't seem to have been solved - this is driving me mad, any help would be greatly appreciated. [moved from Software by spinynorman - welcome aboard :)]
×
×
  • Create New...