Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* SAMBA Compile
@ 2001-06-19 15:10 Mike V
  2001-06-20  0:15 ` Michael Heiming
  2001-06-20  5:07 ` Tim Mooney
  0 siblings, 2 replies; 4+ messages in thread
From: Mike V @ 2001-06-19 15:10 UTC (permalink / raw)


Hi-

Trying to install SAMBA 2.2.0. on a DS20 with Tru64 5.1, ./configure completed 
without any errors and I get this when trying to make the binaries:

# ./Makefile
./Makefile: syntax error at line 22: `LIBTOOL=$' unexpected
# 

line 22 has this:

LIBTOOL=$(SHELL) $(top_builddir)/libtool --quiet

I tried it with /sbin/sh and /sbin/csh as my shell thinking it is somehow
related to the shell I'm using but had the same results.  

Any ideas,

Thanks for your help

Mike V.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SAMBA Compile
  2001-06-19 15:10 SAMBA Compile Mike V
@ 2001-06-20  0:15 ` Michael Heiming
  2001-06-20  5:07 ` Tim Mooney
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Heiming @ 2001-06-20  0:15 UTC (permalink / raw)


Mike V wrote:
> 
> Hi-
> 
> Trying to install SAMBA 2.2.0. on a DS20 with Tru64 5.1, ./configure completed
> without any errors and I get this when trying to make the binaries:
> 
> # ./Makefile
> ./Makefile: syntax error at line 22: `LIBTOOL=$' unexpected
> #
> 
> line 22 has this:
> 
> LIBTOOL=$(SHELL) $(top_builddir)/libtool --quiet
> 
> I tried it with /sbin/sh and /sbin/csh as my shell thinking it is somehow
> related to the shell I'm using but had the same results.
> 
> Any ideas,
> 
> Thanks for your help
> 
> Mike V.

Do you have GNU libtool on your machine? Perhaps, ./configure didn't
check
if it's available?

From the machine (Linux) im typing this message:

# libtool --help
Usage: libtool [OPTION]... [MODE-ARG]...
 
Provide generalized library-building support services.
 
    --config          show all configuration variables
    --debug           enable verbose shell tracing
-n, --dry-run         display commands without modifying any files
    --features        display basic configuration information and exit
    --finish          same as `--mode=finish'
    --help            display this help message and exit
    --mode=MODE       use operation mode MODE [default=inferred from
MODE-ARGS]
    --quiet           same as `--silent'
    --silent          don't print informational messages
    --version         print version information
 
MODE must be one of the following:
 
      compile         compile a source file into a libtool object
      execute         automatically set library path, then run a program
      finish          complete the installation of libtool libraries
      install         install libraries or executables
      link            create a library or an executable
      uninstall       remove libraries from an installed directory
 
MODE-ARGS vary depending on the MODE.  Try `libtool --help --mode=MODE'
for
a more detailed description of MODE.

# libtool --version
ltmain.sh (GNU libtool) 1.3.4 (1.385.2.196 1999/12/07 21:47:57)  

Perhaps, you need GNU bash too, but I would try getting libtool first.

Good luck

Michael Heiming


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SAMBA Compile
  2001-06-19 15:10 SAMBA Compile Mike V
  2001-06-20  0:15 ` Michael Heiming
@ 2001-06-20  5:07 ` Tim Mooney
  2001-06-20 14:26   ` Mike V
  1 sibling, 1 reply; 4+ messages in thread
From: Tim Mooney @ 2001-06-20  5:07 UTC (permalink / raw)


In article <8c436e5e.0106190710.6c366a9c@posting.google.com>,
Mike V <mousemo@hotmail.com> wrote:
> Hi-
> 
> Trying to install SAMBA 2.2.0. on a DS20 with Tru64 5.1, ./configure completed 
> without any errors and I get this when trying to make the binaries:
> 
> # ./Makefile
> ./Makefile: syntax error at line 22: `LIBTOOL=$' unexpected

Why are you trying to run the Makefile?  It's not a script, it's (essentially)
a configuration file used by the `make' command to explain how to build the
software.

You want to run the `make' command, not the Makefile, so try run just

	make

from the same directory containing the Makefile.

Also, there are all kinds of good reasons to never build software as root.
Compile the software as yourself, and then when you want to install it,
switch to root to do the

	make install

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SAMBA Compile
  2001-06-20  5:07 ` Tim Mooney
@ 2001-06-20 14:26   ` Mike V
  0 siblings, 0 replies; 4+ messages in thread
From: Mike V @ 2001-06-20 14:26 UTC (permalink / raw)


Thanks everyone for your polite correction of an obvious error, 
there is a difference between 'Makefile and 'make'!!!!

Everything is working fine now.

Mike V


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-06-20 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-19 15:10 SAMBA Compile Mike V
2001-06-20  0:15 ` Michael Heiming
2001-06-20  5:07 ` Tim Mooney
2001-06-20 14:26   ` Mike V

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox