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.:expressionless:

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.

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.

  1. Use the nvidia installer for 180.22.

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

  1. 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.

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.

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.

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

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…

:)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.

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.

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.

I tried;:stuck_out_tongue: 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.:frowning:

Its a lot easier when online and it finds the dependencies for you. So no DVD, and limited bandwidth, be very aware of what you tell to refresh when you get there :wink:

You’re going to have to do this the hardway for every file you end up missing off the CD.

Webpin Search here but try your hardest to keep to ones that have repo oss in the path. The 1-5 should be ok but if it not then try the specific one, but it looks like it is a compat lib.

Though I’m surprised it isn’t on the cd looks like a basic lib, you’re sure software management is configured to use the CD and it is in the draw? The other way would be to run a find on the CD after discovering what the name of the package is, that has it included, via something like webpin/google.

It becomes tricky and is a lot harder without network and repos to solve dependencies.

At only 300bytes they look like downloaders. But which one?

I found this but it doesn’t say anything about system 86_64

Download libutils 3.0.0 for Linux - Utils C library - Softpedia

and it requires Make and Gcc.

I’m going to have to think about ordering the dvd but I haven’t got any money + I don’t know how to uninstall an op system, probably just format and use Mbrfix.:frowning:

NO I gave you link just use webpin nothing else not for the moment, webpin is the best place for a beginner going else where will eventually get you into trouble.

The one you want I think is this, http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/libusb-0_1-4-0.1.12-136.11.x86_64.rpm

Forget all about compiling at this moment in time, there should be no need, TBH there should be very few instances you need to compile. Compiling manually really needs a network you’ll come across all kinds of error messages. Then have to chase half a dozen devel files most of the time and takes very careful reading of error messages and a bit google-fu.

Get that file transfer it over and try again… Then if missing another dep we’ll use webpin again.

Edit soz fixed link…

By the way just noticed you’re mixing archs don’t you need all files that end with x86_64.rpm so the one you need is http://download.opensuse.org/repositories/home:/kssingvo/openSUSE_11.0/x86_64/huawei_umtsmodem-1.0.0-3.1.x86_64.rpm

I’m presuming you’re following the article exactly, doesn’t mention only i586 but should but they did also have the x86_64 where I found it.

stephen@linux-mosr:~/Desktop> rpm -i libusb-0_1-4-0.1.12-136.11.x86_64.rpm
error: can’t create transaction lock on /var/lib/rpm/__db.000
stephen@linux-mosr:~/Desktop>

Just isn’t going to work.:X

Wait for the desktop applet to stop updating or turn it off disable it, just stop it accessing the DB.

Only one thing can connect to the software db at one time. It should be the applet on the task bar but can be other things like repo configuration etc…

Also use

zypper in

not rpm with the install media in the draw over rpm it will find any dependencies.

<rant>I just wish some of these wiki guru’s would just go around a clear this crap up, like old ways, pages that are irrelevant etc… <\rant>

I tried that with Hauwei and it tried to get online:P

:\But a knowledgeable friend in another forum who has been using Linux for years says it is a waste of time trying.

He has downloaded the DVD 64 bit and is posting it this weekend.

I have got to have nVidia for 64 bit graphics. At the moment it is 16 bit but on windows 32 bit and I’m not buying Vista.

I’m not going to say it does or doesn’t but people don’t package files for no reason they package it because they believe it will help.

You mention for graphics really any modern distro needs an internet connection, you’ll have a huge headache with nvidia next. Then if you want something not on the DVD I don’t know say blender, then again.

It’s upto you, but it’s been packaged for 11.1 the page says it worked for 11 I have no reason to believe else wise. Or that someone wasted their time writing the page.

Problematic yes but not work I think is untrue.

Honestly it sounded like you got to this point …

fix the problems, if any detected

In the umtsmon bit… and went for one of the others that from the sounds of things are less verbose.

Now I know it’s not true by the amount of people that do have success http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aunofficial&hs=elM&q=suse+Huawei+E169G+HSDPA+USB+Stick&btnG=Search&meta=