gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenBSD cvs compile works - but I have a new problem now.


From: nemir nemiria
Subject: Re: OpenBSD cvs compile works - but I have a new problem now.
Date: Thu, 01 Jul 2004 11:14:08 +0000

Hiya Pawel,

Mixed news. I got through ./autogen.sh and all the way through gmake as well.

As soon as I ran gmake install I got the following errors:

~$>make install
"./Makefile.global", line 75: Missing dependency operator
"./Makefile.global", line 77: Need an operator
"./Makefile.global", line 88: Need an operator
"./Makefile.global", line 90: Need an operator
"Makefile", line 20: Need an operator
"Makefile", line 23: Need an operator
"Makefile", line 80: Need an operator
"Makefile", line 82: Need an operator
Fatal errors encountered -- cannot continue


The nominated files are as follows:

~$>cat Makefile.global

#
# $Id: Makefile.global.in,v 1.50 2004/06/30 22:11:54 pkot Exp $
#
# Global Makefiles configuration for the GNOKII.
#
# Copyright (C) 1999 Hugh Blemings & Pavel Janík ml.
#               2000 Karel Zak
#

VERSION        = 0.6.1

SHELL          = /bin/sh

PACKAGE        = gnokii

top_builddir   = $(TOPDIR)
srcdir         = .
prefix         = /usr/local
exec_prefix    = ${prefix}

bindir         = ${exec_prefix}/bin
sbindir        = ${exec_prefix}/sbin
xbindir        = /bin/
libdir         = ${exec_prefix}/lib
xgnokii_libdir = /share/xgnokii
includedir     = ${prefix}/include
mandir         = ${prefix}/man
man1dir        = ${mandir}/man1/
man8dir        = ${mandir}/man8/
xmandir        = /man/man1/
docdir         = ${prefix}/doc/${PACKAGE}
locdir         = ${prefix}/share/locale

BIN_MODE       = 0755
TEXT_MODE      = 0444

INSTALL        = /usr/bin/install -c
INSTALL_DATA   = ${INSTALL} -m 644
RM             = /bin/rm -f
FIND           = /usr/bin/find
MAKE           = gmake
XGETTEXT       = /usr/local/bin/xgettext
MSGFMT         = /usr/local/bin/msgfmt

CC             = gcc
CFLAGS         = -g -O2
CPPFLAGS       =  -I/usr/X11R6/include
LIBS           =
LDFLAGS        =
LEX            = flex
AR             = ar
RANLIB         = ranlib
LIBTOOL        = $(SHELL) $(top_builddir)/libtool

GTK_CFLAGS     =
GTK_LIBS       =
PTHREAD_CFLAGS = -pthread
PTHREAD_LIBS   =  -pthread
XPM_LIBS       = -L/usr/X11R6/lib -lXpm -lX11
XPM_CFLAGS     = -I/usr/X11R6/include
OWN_GETOPT     =
INTL_LIBS      = $(top_builddir)/intl/libintl.la
ICONV_LIBS     =
NEED_LCHARSET  = 1

HAVE_XGNOKII   = no
WIN32          =
WIN32_CROSS    =

HAVE_LIBICAL   =

DESTDIR        =

ifeq (yes, yes)
       CFLAGS += -I$(TOPDIR)/intl
endif

#
# Global include directory
#       ($TOPDIR is defined in Makefile)
#
GNOKII_INCLUDE = $(TOPDIR)/include

#
# Win32 option
#
ifdef WIN32
       WIN32 += -I$(TOPDIR)/win32
endif


CFLAGS += -I$(GNOKII_INCLUDE) $(XPM_CFLAGS)
LDLIBS = $(LIBS) $(ICONV_LIBS) $(INTL_LIBS) $(XPM_LIBS)

%.lo: %.c
       $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
~$i>cat Makefile

#
# $Id: Makefile,v 1.130 2004/01/20 22:43:38 uid66843 Exp $
#
# Makefile for the GNOKII tool suite.
#
# Copyright (C) 1999 Hugh Blemings & Pavel Janík ml.
#               2000 Karel Zak
#

TOPDIR=.

#
# Makefile.global contains gnokii global settings
#
include ${TOPDIR}/Makefile.global

BIN_DIRS = gnokii

ifndef WIN32
BIN_DIRS += gnokiid utils
DATA_DIR = common/data
endif

DIRS =  common/phones \
       common/links \
       common/devices \
       $(DATA_DIR) \
       po \
       common \
       $(BIN_DIRS)

GTK_DIRS =      xgnokii

INSTALL_DIRS =  $(BIN_DIRS) \
               common

INSTALL_SIMPLE =        po \
                       intl \
                       include

DOCS_DIR =      Docs

all: intl $(DIRS)
       @if [ "$(GTK_LIBS)" ]; then \
               for dir in $(GTK_DIRS); do \
                   if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir; \
                   fi; \
               done \
       fi
       @echo "done"
       @echo "##########################################"
       @echo "###"
       @echo "### It is strongly recommended to run:"
       @echo "### make install"
       @echo "### now. Otherwise gnokii may not work."
       @echo "###"
       @echo "##########################################"

dummy:

intl: dummy
       -ln -sf include/config.h config.h
       $(MAKE) -C intl
       $(MAKE) -C intl localcharset.lo
       -$(RM) config.h

$(DIRS): dummy
       $(MAKE) -C $@

clean:
$(RM) *~ *.orig *.rej include/*~ include/*.orig include/*.rej testsuite/myout*
       @for dir in intl $(DIRS); do \
           if [ -e $$dir/Makefile ]; then \
               $(MAKE) -C $$dir clean; \
           fi; \
       done

ifdef OWN_GETOPT
               $(MAKE) -C getopt clean
endif

       @if [ "$(GTK_LIBS)" ]; then \
               for dir in $(GTK_DIRS); do \
                   if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir clean; \
                   fi; \
               done \
       fi

       $(MAKE) -C Docs clean

       @echo "done"

distclean: clean
       $(MAKE) -C common distclean
       $(RM) Makefile.global config.cache config.log config.status \
               include/config.h \
               packaging/RedHat/gnokii.spec \
               packaging/Slackware/SlackBuild \
               po/Makefile.in
       $(RM) `$(FIND) . -name "*~"`
       @echo "done"

dep:
       @for dir in $(DIRS); do \
           if [ -e $$dir/Makefile ]; then \
               $(MAKE) -C $$dir dep; \
           fi; \
       done

       @if [ "$(GTK_LIBS)" ]; then \
               for dir in $(GTK_DIRS); do \
                   if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir dep; \
                   fi; \
               done \
       fi
       @echo "done"

test:
       ( cd testsuite; ./testit )

install: all
       @for dir in $(INSTALL_DIRS); do \
               if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir install; \
               fi; \
       done

       @for dir in $(INSTALL_SIMPLE); do \
               if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir install; \
               fi; \
       done

       @if [ "$(GTK_LIBS)" ]; then \
               for dir in $(GTK_DIRS); do \
                   if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir install; \
                   fi; \
               done \
       fi

       @echo "done"
       @echo "#####################################################"
       @echo "###"
       @echo "### Please make sure to have $(libdir) in"
       @echo "### the system defaults or in /etc/ld.so.conf and run"
       @echo "### /sbin/ldconfig at some time. Otherwise gnokii may"
       @echo "### not work."
       @echo "###"
       @echo "#####################################################"

install-docs:
       $(MAKE) -C $(DOCS_DIR) install
       @echo "done"

install-strip:
       @for dir in $(INSTALL_DIRS); do \
               if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir install-strip; \
               fi; \
       done

       @for dir in $(INSTALL_SIMPLE); do \
               if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir install; \
               fi; \
       done

       @if [ "$(GTK_LIBS)" ]; then \
               for dir in $(GTK_DIRS); do \
                       if [ -e $$dir/Makefile ]; then \
                               $(MAKE) -C $$dir install-strip; \
                       fi; \
               done \
       fi

       @echo "done"

install-suid:
       @for dir in $(INSTALL_DIRS); do \
               if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir install-suid; \
               fi; \
       done

       @for dir in $(INSTALL_SIMPLE); do \
               if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir install; \
               fi; \
       done

       @if [ "$(GTK_LIBS)" ]; then \
               for dir in $(GTK_DIRS); do \
                       if [ -e $$dir/Makefile ]; then \
                               $(MAKE) -C $$dir install-suid; \
                       fi; \
               done \
       fi

       @echo "done"

install-ss:
       @for dir in $(INSTALL_DIRS); do \
               if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir install-ss; \
               fi; \
       done

       @for dir in $(INSTALL_SIMPLE); do \
               if [ -e $$dir/Makefile ]; then \
                       $(MAKE) -C $$dir install; \
               fi; \
       done

       @if [ "$(GTK_LIBS)" ]; then \
               for dir in $(GTK_DIRS); do \
                       if [ -e $$dir/Makefile ]; then \
                               $(MAKE) -C $$dir install-ss; \
                       fi; \
               done \
       fi

       @echo "done"

.PHONY: all install clean distclean dep depend install-docs

_________________________________________________________________
Get a Virgin Credit Card and win an adventure: http://ad.doubleclick.net/clk;8661322;9498324;s?http://www.promo.com.au/virgincreditcard/firstbirthday/track.cfm?source=N92





reply via email to

[Prev in Thread] Current Thread [Next in Thread]