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,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Linux question

    Boot into runlevel 3. I'm sure the CD supports it.

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

    Default Re: Linux question

    But how? When I run live-cd, it's 'welcome screen' and it starts booting
    13 of September - Programmer Day

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

    Default Re: Linux question

    Use F1 or F3 as earlier advised. The live cd should first let you choose some things before booting the system. Even the install disk does that, so I'm sure live cd has such capabilities as well.

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

    Default Re: Linux question

    Ok, I've solved the problem in other way.
    13 of September - Programmer Day

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

    Default Re: Linux question

    But I've got another question. When I try to compile program with make (install) i get that there's no such command. When I launch add/remove programs I've got gcc preprocesor and library selected. What's up??? Why I can compile?
    Regards
    13 of September - Programmer Day

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    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.

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

    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

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

    Default Re: Linux question

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

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

    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

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    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.

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

    Default Re: Linux question

    And don't forget about installing make.

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

    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

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

    Default Re: Linux question

    The name of what?

Similar Threads

  1. Re: Linux question
    By Salazaar in forum General Discussion
    Replies: 9
    Last Post: 24th November 2007, 19: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
  •  
Qt is a trademark of The Qt Company.