LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2008, 04:00 AM   #16
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63

Ok, then, time to start reading the automake man pages and documentation.
 
Old 07-28-2008, 04:01 AM   #17
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Mr. C. View Post
grab any sample OSS software and see how its done there.
this seems to be better idea. I will start doing that now itself.
 
Old 07-28-2008, 04:02 AM   #18
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Mr. C. View Post
Ok, then, time to start reading the automake man pages and documentation.
I already read them. But I didn't got much. Anyway, I will do that again....
 
Old 07-28-2008, 02:04 PM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://www.freesoftwaremagazine.com/..._gnu_autotools
http://www.freesoftwaremagazine.com/...with_autotools
http://www.freesoftwaremagazine.com/..._with_autoconf

May be you want to read the above.

Regards
 
Old 07-29-2008, 11:33 PM   #20
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270

Original Poster
Rep: Reputation: 33
huuurrrrrrrrrryyyyyyyy

I got solution. automake is not required. the name of the makefile i wrote should be with the name Makefile.in the procedure to be adopted is as follows....

Quote:
Construction of Configure Script for a project

1.EXECUTE the command autoscan
a)to be executed in the same folder where the main is there
b)the output will be two files
i.autoscan.log
ii.configure.scan
2.RENAME the configure.scan file to configure.ac
3.EXECUTE the command autoconf

a)to be executed in the folder where the configure.in file is there
b)output will be the following one folder and one file
i.autom4te.cache
ii.configure script
4.EXECUTE the command autoheader

a)to be executed in the folder where the configure.in file is there
b)output will be the following one file
i.configure.h.in
5.configure script is ready.
6.EXECUTE the command aclocal
7.EXECUTE the command touch NEWS README AUTHORS ChangeLog
8.write the make file and name it as Makefile.in
9.Run the configure script (./configure)
10.make
11.executable is ready.....................
Also thanks for your help people....

Last edited by chakka.lokesh; 07-29-2008 at 11:34 PM.
 
Old 12-22-2010, 11:36 AM   #21
goodGOD
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Rep: Reputation: 0
Makefile:16: *** missing separator. Stop.

Dear knudfl and all

Please help out with below.

I am trying to install Nonoh VoIP through SIP software linphone-3.3.2

in a
home/Nonoh/linphone-3.3.2/scripts



[root@MQMKlocalhost scripts]# make
Makefile:16: *** missing separator. Stop.



below is the few lines of the Makefile.in file

# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@ SET_MAKE @
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SE
.
.
.


thanks all. to thoese of us that are new and the patience.
 
Old 12-22-2010, 12:03 PM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 21, @goodGOD.

Please edit post # 21 to use code tags ! [/code] at end, and [code] at code start.
http://www.linuxquestions.org/questions/misc.php?do=bbcode

So how does "Makefile line 16" look like ? Please show it in code tags.
If you have read the other posts, you will know, how to edit line 16 :
Replace <space> with <TAB>.
( Or add a <TAB> before and / or after the word(s).)

..
 
Old 12-22-2010, 12:25 PM   #23
goodGOD
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Rep: Reputation: 0
Dear knudfl and all

thanks. I hope I did it well now. I am trying to install Nonoh VoIP through SIP software linphone-3.3.2 in a home/Nonoh/linphone-3.3.2/scripts directory



[root@MQMKlocalhost scripts]# make
Makefile:16: *** missing separator. Stop.



below is the few lines of the Makefile.in file

Mkaefile.in
Code:
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@ SET_MAKE @
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SE
.
.
.
thanks all for the patience.
 
Old 12-22-2010, 12:32 PM   #24
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
My Makefile in linphone-3.3.2/scripts looks like this :
Code:
    11	# This program is distributed in the hope that it will be useful,
    12	# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    13	# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    14	# PARTICULAR PURPOSE.
    15	
    16	
    17	
    18	pkgdatadir = $(datadir)/linphone
    19	pkgincludedir = $(includedir)/linphone
    20	pkglibdir = $(libdir)/linphone
→ → There isn't anything in line 16.
( 'linphone-3.3.2/' compiles with no errors.)
Did you modify something ? ?
..
 
Old 12-22-2010, 12:37 PM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
It's not about the Makefile.in .

The used file is : 'Makefile' .

( You may delete the Makefile.in copy in post #21 or #23.)

Can you see the 'Edit' button ? That's to be used for editing post # 21. Please.

..
Attached Images
 

Last edited by knudfl; 12-22-2010 at 09:07 PM.
 
Old 12-22-2010, 09:04 PM   #26
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The issue, post # 21 : May be you got a corrupt source ?
The reliable one is here ..
http://nongnu.uib.no/linphone/3.3.x/...e-3.3.2.tar.gz

I made a compiling test on Fedora 13 too : No difference, no errors.
( cd linphone-3.3.2/ && ./configure && make ).

The prerequisites are :
# yum install libglade2-devel libosip2-devel libeXosip2-devel \
speex-devel ffmpeg-devel SDL-devel libv4l-devel

( doxygen, readline-devel are used too, if installed, but will make
no difference in the mentioned part of the Makefile.)

Fedora 13 : An identical Makefile was created in linphone-3.3.2/scripts.
( Makefile.am generates Makefile.in. Makefile is generated from Makefile.in,
when you do ./configure ).
..

Last edited by knudfl; 12-22-2010 at 09:23 PM.
 
Old 12-13-2021, 09:03 AM   #27
becko
LQ Newbie
 
Registered: Jul 2015
Distribution: Debian, Slackware
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by chakka.lokesh View Post
after following the steps mentioned by me in the post one above, I ran the configure script. It ran successfully. In response to the execution of that configure script, the following two files were created:


the contents of Makefile are as follows:


I posted only the first 36 lines. total lines in the Make file are 471.
As you can see, the above quote
upto line 13, it is some commented stuff.
line 14 is blank.

line 15 is @SET_MAKE@
This line:

@SET_MAKE@

is a "MACRO" from automake that didn't expand to real code.

This unexpanded MACRO is what gives the error:

Makefile: : *** missing separator. Stop.


The MACRO usually get stuck if the configure.ac file has an incorrect senquence.

Check if you erroneously put the AM_INIT_AUTOMAKE macro after the AC_OUTPUT macro, and if so, you need to invert that order.
 
Old 12-13-2021, 09:55 AM   #28
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,840

Rep: Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007
Quote:
Originally Posted by becko View Post
This line:

@SET_MAKE@

is a "MACRO" from automake that didn't expand to real code. This unexpanded MACRO is what gives the error:

Makefile: : *** missing separator. Stop.

The MACRO usually get stuck if the configure.ac file has an incorrect senquence. Check if you erroneously put the AM_INIT_AUTOMAKE macro after the AC_OUTPUT macro, and if so, you need to invert that order.
Good advice; however, this thread had been closed for ELEVEN YEARS before you reopened it. I think the OP has probably moved on.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
makefile:4: *** missing separator. Stop klavuzkarga Programming 1 12-17-2007 11:27 AM
/root/proclist/Makefile:5: *** missing separator. Stop. raklo Programming 17 09-02-2006 08:23 AM
spamassassin: makefile missing separator Andreja Linux - Software 1 05-31-2004 10:39 AM
Makefile separator problem Ownasaurus Linux - Software 5 09-07-2003 01:07 PM
Missing Separator? jamespetts Linux - Software 2 09-05-2002 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration