Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: How to use openSUSE compiler

  1. #1
    Join Date
    Apr 2009
    Location
    Burton-England
    Posts
    34

    Default How to use openSUSE compiler

    I do not have internet connection with openSUSE86_64 yet.

    I have found an nVidia driver which is a .run file, it needs to be compiled, where can I find a reasonable description of how to go about this.

    My processor is 64 bit and I've found some rpm files, these appear to be source code so how do I compile these.

    Better still is there a good description of the compiler including operators.

    I can remember Borland compiler used to generate code files, builder files, make files, ect automatically so I didn't bother much with the details but it looks like I have to here.

    What is sh, su, ect and a silly question how do you log in as root.

    Where do drivers go, or can I put them anywhere in the root directory, can I create a driver directory /drv say?

    What I really need is some good reading.
    Last edited by Arith; 04-May-2009 at 14:45. Reason: change
    openSUSE11.1-86_64/Phenom x3 8650 2403Mhz/V1 AX CL P0508 Heatsink 22c on 19c ambient/nVidia GeForce/8400GS Asustec silent 512MB /2 GB Ram CL 5-5-5-15 836Mhz/cpu-NB freq 1881 /Seagate 360GB 7200rpm/DirectX 9.0c/PhysX

  2. #2
    Join Date
    Jul 2008
    Location
    Pottstown PA, US
    Posts
    150

    Default Re: How to use openSUSE compiler

    Hi there

    see the two below links for a summary of the ways to access the root user account.

    sudo - Wikipedia, the free encyclopedia

    http://en.wikipedia.org/wiki/Su_(Unix)

    I would reccomend the use of sudo, as it can be far more convenient.

    all drivers (modules) are located in /lib/modules/{a directory named after your kernel version}
    they may also be located in /lib64/modules/{a directory named after your kernel version}, depending on the situation. Chances are however, everything you would need to find would be in the /lib/modules directory

    as for the nvidia driver you are trying to compile...are you referring to the NVIDIA GRAPHICS DRIVER? or are you talking about some other device manufactured by nvidia (i.e. a device on the motherboard manufactured by nvidia)

    If it is the graphics driver, you can install using the .run file. however i reccomend that you install it via yast. If you open yast and search for the nvidia driver, it should be on the list.

    Pros for installing via YaST:
    by installing via the .run file, some automatic updates (particularly kernel updates) will break the driver and you would need to reinstall manually. If you install via yast, kernel updates will not break the driver.
    Desktop| opensuse11.3| Core2Q Q9450 | nVidia GeForce 8800 GT
    Server| Arch | mythtv 024 | Core2D E7500| nVidia GT210
    HTPC| opensuse11.3 | mythtv 024| Atom 330 | ASUS AT3IONT-I Deluxe | nVidia ION
    Laptop| System76 | opensuse11.3| Core2D P8600 | nVidia 9300M

  3. #3
    Join Date
    Apr 2009
    Location
    Burton-England
    Posts
    34

    Default Re: How to use openSUSE compiler

    Yes it is the graphics driver for geForce 8400GS, but I need it to slow the refresh speed of my monitor from 77hz to 60hz. It cost a few bob so I better do that first.

    There are instructions for using YasT on nVidia but looks like they need an internet connection.

    But the alternative method doesn't:

    "1) Kernel sources must be installed and configured. Usually this means
    installing the 'kernel-source', 'make' and 'gcc' packages with YaST2.

    2) Use the nvidia installer for 180.22.

    sh NVIDIA-Linux-x86_64-180.22-pkg2.run -q

    3) Configure X.Org with

    sax2 -r -m 0=nvidia (0 is a digit, not a letter!)

    NOTE: There is no need to try to enable 3D support. It's already
    enabled, when the nvidia driver is running.

    IMPORTANT: You need to recompile and install the nvidia kernel module
    after each kernel update."

    I can't explore openSUSE and be on the internet at the same time, so how do you run YasT, is it a desktop application.
    openSUSE11.1-86_64/Phenom x3 8650 2403Mhz/V1 AX CL P0508 Heatsink 22c on 19c ambient/nVidia GeForce/8400GS Asustec silent 512MB /2 GB Ram CL 5-5-5-15 836Mhz/cpu-NB freq 1881 /Seagate 360GB 7200rpm/DirectX 9.0c/PhysX

  4. #4
    Join Date
    Apr 2009
    Location
    Burton-England
    Posts
    34

    Default Re: How to use openSUSE compiler

    Samsung do not do drivers for linux, it supposed to be running at 60Hz, but chooses 77Hz.

    My graphics card is unrecognised, sound card the same, this is going to be a big job.
    openSUSE11.1-86_64/Phenom x3 8650 2403Mhz/V1 AX CL P0508 Heatsink 22c on 19c ambient/nVidia GeForce/8400GS Asustec silent 512MB /2 GB Ram CL 5-5-5-15 836Mhz/cpu-NB freq 1881 /Seagate 360GB 7200rpm/DirectX 9.0c/PhysX

  5. #5
    Join Date
    Apr 2009
    Location
    Burton-England
    Posts
    34

    Default Re: How to use openSUSE compiler

    So gcc is gnu c compiler and make is a build application.

    How do I install these and does kernel source refer to the .run file.

    I used the cd version of openSUSE because downloading the dvd would take 12hrs and cost 200; do I need to download gcc and make.

    My Samsung SM2032BW is totally unrecognised and despite inserting the disc and manually changing settings it still reverts to some obscure make I never heard of.

    The dvd drive stopped listening.

    My realTek sound unrecognised.

    Asustec silent nVidia geForce 8400GS 512MB unrecognised.

    I need to have full and complete instructions in the use of YasT and gcc and make.
    openSUSE11.1-86_64/Phenom x3 8650 2403Mhz/V1 AX CL P0508 Heatsink 22c on 19c ambient/nVidia GeForce/8400GS Asustec silent 512MB /2 GB Ram CL 5-5-5-15 836Mhz/cpu-NB freq 1881 /Seagate 360GB 7200rpm/DirectX 9.0c/PhysX

  6. #6

    Default Re: How to use openSUSE compiler

    As you have a screen what i would do is go for the modem first it will help

    Now I've not noticed you post but for example Problem with Huawei E220 after Update to 11.1 - openSUSE Forums the e220 works here..

    Once you get this sorted it'll become easier then you can decide if you wish to go for a manual compile..

    Personally I would use the one-click now occasionally it can cause problems(Just pause wait 36hrs see if people are grumbling on the forum about an update), but it will avoid you having to recompile each time and being dropped to a black screen when the kernel is updated.

    Now how does it go all together, well as it is a kernel module it needs the kernel source to build against and the source you're using. Then it makes it, with the gcc compiler. Not really sure on the specifics not being a c coder but, make just takes the initial instructions afaik.

    Now as for yast it is kind of pointless well not completely but you're missing a really good repo with packman whilst you have no internet.

    YaST - openSUSE

    But once you get the internet running you can use one clicks now most of the ones from wiki are relatively safe, but not bomb proof. They will add repos some times these need careful consideration.

    Package Repositories - openSUSE Ideally you want the OSS, NON-OSS, Update, Packman, then if you want a graphics one Nvidia. The one clicks work and will add the repos if you wish.

    Concepts - openSUSE

    This should help a little with the concepts with a few links to follow to..
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  7. #7
    Join Date
    Apr 2009
    Location
    Burton-England
    Posts
    34

    Default Re: How to use openSUSE compiler

    Does the above work with the E169G modem.

    That is why I chose a shared partition and I can see it although I'm unfamiliar with the file system.

    How do I log on as root user, since I'm the only one that has access to this computer.

    Wikipedia shows only a way not to do it.

    I haven't been into openSUSE today yet because I was confused to 3am last night.
    openSUSE11.1-86_64/Phenom x3 8650 2403Mhz/V1 AX CL P0508 Heatsink 22c on 19c ambient/nVidia GeForce/8400GS Asustec silent 512MB /2 GB Ram CL 5-5-5-15 836Mhz/cpu-NB freq 1881 /Seagate 360GB 7200rpm/DirectX 9.0c/PhysX

  8. #8
    Join Date
    Apr 2009
    Location
    Burton-England
    Posts
    34

    Default Re: How to use openSUSE compiler

    I took and passed an OU course in C++ years ago, and would know a lot more if the government didn't object to me continuing; apparently I've been trained enough.

    openSUSE is written in C, and I've got a C++ compiler but for windows unfortunately.
    openSUSE11.1-86_64/Phenom x3 8650 2403Mhz/V1 AX CL P0508 Heatsink 22c on 19c ambient/nVidia GeForce/8400GS Asustec silent 512MB /2 GB Ram CL 5-5-5-15 836Mhz/cpu-NB freq 1881 /Seagate 360GB 7200rpm/DirectX 9.0c/PhysX

  9. #9

    Default Re: How to use openSUSE compiler

    Well actually getting the compiling software should be easy certainly if you have the dvd install media but step over this for a sec.

    Lets get internet working if this is solved, and like you when I first started the hard bit.

    Now the problem I've got is this page is for 10.3 now I don't have the hardware so can't help specifically. But it looks like it has worked and therefore should work, I can't guarantee but you have a high chance as it isn't too many versions away.

    Huawei UMTS USB Stick - openSUSE

    As for logging in with root that tells you there, generally on linux it is advised not to log in as root but to use su. Many apps can run as su by launching with kdesu if kde.

    Now you will have to look in software and add the developer tools but tbh I really would ignore the graphics. You may find certain bits mentioned on the page aren't installed. I think you should find them on the dvd unsure about live cd's or DE/cd install contain, if DE/cd install I would thought more than likely.

    Edit
    Closer still 11.0 at the bottom.. so really should be the same.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  10. #10
    Join Date
    Apr 2009
    Location
    Burton-England
    Posts
    34

    Default Re: How to use openSUSE compiler

    I tried; You have to be an expert in linux to install linux:

    no gcc or make as far as YasT could see which shows error repositories not cached on entry.

    libusb-0.1.so.4 is needed by huawei_umtsmodem..rpm
    failed dependencies

    As for nVidia:

    unable to find system utility 'ld' make sure you have package 'binutils' installed.

    Of course I can't download the dvd because it would take 12 hours and I only get 5 GiGs a month with 10p per MB fine for excess.
    openSUSE11.1-86_64/Phenom x3 8650 2403Mhz/V1 AX CL P0508 Heatsink 22c on 19c ambient/nVidia GeForce/8400GS Asustec silent 512MB /2 GB Ram CL 5-5-5-15 836Mhz/cpu-NB freq 1881 /Seagate 360GB 7200rpm/DirectX 9.0c/PhysX

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •