Results 1 to 10 of 16
Good day unto all,
My odyssey into Linux continues. I have figured out how to download RPM's to my system. I have created a download directory under home for a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-06-2004 #1Just Joined!
- Join Date
- May 2004
- Location
- Pennsylvania (USA)
- Posts
- 12
May have fubar'd Samba install
Good day unto all,
My odyssey into Linux continues.
I have figured out how to download RPM's to my system. I have created a download directory under home for a repositry of these so that I may untar them and install.I was able to get a copy of samba-3.0.3.tar and I untarr'd it into my downloads directory. This was wrong was it not? Should the samba-3.0.3 directory it created be somewhere else so that I may modify it and (hopefully!) get it to work correctly? If so how would I go about this? As always thanks in advance
- 05-06-2004 #2Linux User
- Join Date
- Jan 2004
- Posts
- 357
Did you take a look at the documentation on samba.org?
http://us1.samba.org/samba/docs/man/howto/
- 05-06-2004 #3Just Joined!
- Join Date
- May 2004
- Location
- Pennsylvania (USA)
- Posts
- 12
Yes. I am a newbie to ALL of this and don't post till I have exhausted all other options. Once I get past my basi hurdles I will be fine
I was told on another board to download rpm's to /usr/source/ yet when I try to do so I get "access denied" any ideas??
- 05-06-2004 #4
Only root can write to /usr/src, so therein lies the problem in putting files there. Typically when you untar a file like that, it creates a new subdirectory. You'll want to cd to that directory and then do this:
That will install it for you. When you su, you put in your root password and become root to install it. The exit at the end goes back to your normal user, although you DO have to be root/su to edit /etc/samba/* (where the samba config files are stored).Code:./configure make su make install exit
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 05-06-2004 #5Just Joined!
- Join Date
- May 2004
- Location
- Pennsylvania (USA)
- Posts
- 12
Sarumont,
First off hello! as always thank you for your replies (hope im not too irritating yet) While waiting for replies I figured that one out.
I was able to do this from commndline:
su
passwd
mv samba-3.0.3.tar /usr/local/src/
cd /usr/local/src/
ls
(showed file was moved)
tar xvf samba-3.0.3.tar
Tar went sucessfully
cd samba-3.0.3
./configure
and got this error:
./configure: No such file or directory
So i do a ls and this is what is there:
ls
COPYING Manifest Read-Manifest-Now Roadmap testsuite/
docs/ packaging/ README source/ WHATSNEW.txt
examples/ pcp/ REVISION swat/
[root@localhost samba-3.0.3]#
should I cd to source and do the ./config from there? Or am I missing it completely?
- 05-06-2004 #6Just Joined!
- Join Date
- May 2004
- Location
- Pennsylvania (USA)
- Posts
- 12
I am beginning to hate Mandrake. I went to source and did:
./configure
started well and I'm like "great maybe im beginning to understand this" I walk away as I am in dire need of coffee and a privy break. I come back and this is what's up:
Code:Compiling rpc_parse/parse_spoolss.c rpc_parse/parse_spoolss.c:277: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:https://qa.mandrakesoft.com/> for instructions. make: *** [rpc_parse/parse_spoolss.o] Error 1 [quote] What is a segmentation fault?? Should I wipe everything and start from scratch?? I'm too freakin tired and frustrated now. Anyone? Any clues?[/quote]
- 05-06-2004 #7Linux Newbie
- Join Date
- Apr 2004
- Location
- Stockholm, Sweden
- Posts
- 130
A segmentation fault means that a program (in your case probably the gcc compiler) has tried to access memory outside its private memory space.
This is actually a sort of serious error, which could mean that you
have either hardware problems(with RAM chips or such)
or problems with your compiler(gcc)...
Of course, I suppose there is also a possiblity that this kind of error
would happen randomly, but you should pay attention when these sorts
of errors pop up...
- 05-06-2004 #8Linux User
- Join Date
- Jan 2004
- Posts
- 357
Beyond the other problems that you are having, you really should have a look at the documents that I linked to. They have sections on "Obtaining and Installing Samba", "How to compile Samba" and "Configuring Samba".
Why not use the instuctions of the people that made the software?
- 05-07-2004 #9Just Joined!
- Join Date
- May 2004
- Location
- Pennsylvania (USA)
- Posts
- 12
As I stated earlier I have looked at the documentation. I have it printed right here next to me. I am having problems following it. Im sorry if my being a newbie offends you so much but I am trying to learn and when I dont understand I ask questions. Stating read the docs when you do not know whether I have or haven't isn't constructive nor productive. I don't have someone here who can look over my shoulder or someone I can call so here I am. Once again sorry to be so noxious to you.Beyond the other problems that you are having, you really should have a look at the documents that I linked to. They have sections on "Obtaining and Installing Samba", "How to compile Samba" and "Configuring Samba".
Why not use the instuctions of the people that made the software?
- 05-07-2004 #10Linux User
- Join Date
- Jan 2004
- Posts
- 357
Not to fight, but where did you say that you have read them? I only see
And a couple of other posts with more questions. And that makes me think that you didn't read them. If you did, then sorry I must have missed that post.Yes. I am a newbie to ALL of this and don't post till I have exhausted all other options. Once I get past my basi hurdles I will be fine I was told on another board to download rpm's to /usr/source/ yet when I try to do so I get "access denied" any ideas??
Maybe you should think about installing samba with a program called yum or apt-get. Either will install samba and many other programs and keep your system up to date. I personally use yum on Fedora and like it very much. It will make your life much easier. I think that both of them have Mandrake repositories.
http://linux.duke.edu/projects/yum/
http://apt4rpm.sourceforge.net/
If you install yum it's a simple as issuing the command "yum install samba" . And it's something very similar for apt4rpm, but I don't use it so I can't say for sure.


Reply With Quote
