Results 1 to 20 of 53

Thread: Mandriva Linux question

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Linux question

    Preprocessor is not a compiler. You need to have other packages installed as well. Like gcc-g++, make, binutils, libstdc++-devel, glibc-devel and probably others as well.

  2. #2
    Join Date
    May 2007
    Posts
    315
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Linux question

    And I've got gcc gnu libs installed either. And does somebody know is there simplier way to install gcc on Mandriva 2008 than this
    http://www-users.mat.uni.torun.pl/~j.../gcc-comp.html
    Regards
    13 of September - Programmer Day

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Linux question

    What happens when you try to run g++? Do you have make installed?

  4. #4
    Join Date
    May 2007
    Posts
    315
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Linux question

    Run? What do you mean? I don't know, I've got (or not) gcc tgat was basically installed with Mandriva. I don't know whether I've got it or no, if not it means that it is not installed
    13 of September - Programmer Day

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Linux question

    Mandriva live-cd was not meant for development. Either install it on your disk and use rpmdrake to install the remaining required software or use a live-cd meant for development - it will have the tools already installed.

    As for gcc C++ development, you need at least those packages installed (and of course their dependencies):
    • libgcc1
    • gcc
    • gcc-cpp
    • gcc-c++


    Running "urpmi gcc-c++ glibc-devel libstdc++-devel" should install all the required software, provided that urpmi is configured properly.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Linux question

    And don't forget about installing make.

  7. #7
    Join Date
    May 2007
    Posts
    315
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Linux question

    Quote Originally Posted by wysota View Post
    Mandriva live-cd was not meant for development.
    What's the name of this?
    13 of September - Programmer Day

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Linux question

    The name of what?

  9. #9
    Join Date
    May 2007
    Posts
    315
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Linux question

    Of this Madnriva sub-distribution you've mentioned to use otherwise. I've got another problem. I've moved some files (.tar.bz2) to a directory. I've extracted one, ok. I'm extracting secon, but it tells me that I don't have the permission to write it. But previous file I've unpacked with no problem! These two files have the same permissions. Regards
    13 of September - Programmer Day

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Linux question

    I didn't say to use mandriva. Mandriva doesn't have a live-cd dedicated for development. Either install mandriva on a hard disk as a regular system or find a different live-cd, best if it was based on Debian.

  11. #11
    Join Date
    May 2007
    Posts
    315
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Linux question

    So you suggest not to use mandriva to develop programs? I tried Kubuntu, but I had network problems. My network card was well recognised, but when I tried to connect to it, computer has been crashing every time...
    13 of September - Programmer Day

  12. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Linux question

    Quote Originally Posted by Salazaar View Post
    So you suggest not to use mandriva to develop programs?
    No I suggest not to use mandriva live-cd to develop programs. I use Mandriva myself and it works just fine. But I run it from my hard disk and not from a live cd.

  13. #13
    Join Date
    May 2007
    Posts
    315
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Linux question

    Quote Originally Posted by wysota View Post
    No I suggest not to use mandriva live-cd to develop programs. I use Mandriva myself and it works just fine. But I run it from my hard disk and not from a live cd.
    I don't understand. Running from hdd? Explain, please, what shell I do to have Mandriva 2008 with all developer-needed components.
    Regards
    13 of September - Programmer Day

Similar Threads

  1. Re: Linux question
    By Salazaar in forum General Discussion
    Replies: 9
    Last Post: 24th November 2007, 18:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.