Bug 6661 - Two errors in build doc
Summary: Two errors in build doc
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: Docs (show other bugs)
Version: 3.4.0
Hardware: x64 Linux
: P3 normal
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba Documentation QA Contact~
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-26 11:18 UTC by David S. Collier-Brown
Modified: 2009-09-01 06:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David S. Collier-Brown 2009-08-26 11:18:41 UTC
In the build doc in  samba-latest.tar.gz ednesday, 26 August 2009, it says
    cd samba-3.0.20/source
This should be samba-3.4.0/source3
Then it says
    root#  ./autogen.sh
    root# ./configure [... arguments ...]
    root#  make

if you aren't root, it silently fails somewhere
in the process, and finally halts when you try to riun make without a Makefile.

Can you change the instructions to take the user to the right directory?

I don't know about the root make, though... I expect
to "./configue; make; cu root -c 'make install'"
as a general rule.  If configure can't find
needed values except as root, perhaps you could
say to run it as root, and the first make as yourself?

If not, could you add a check like
if [ `id -u` -ne 0 ]; then 
     echo "holy cow batman, you need to be root!"
Comment 1 Karolin Seeger 2009-09-01 06:03:44 UTC
Commit 1bc05ca3bb adds a hint that in 3.4.x, the directory is called "source3".

I don't think that configure has to be run as root.

Closing out bug report.

Please reopen, if it's still an issue.

Thanks for reporting!