Sponsored Content
Full Discussion: Installing Dada engine
Top Forums UNIX for Dummies Questions & Answers Installing Dada engine Post 81750 by cptj on Tuesday 23rd of August 2005 08:04:04 PM
Old 08-23-2005
Installing Dada engine

Hi, I wonder if someone can help me with what is probably a very easy question. Smilie

I'm relatively new to UNIX and have recently been trying to get into it more since I bought a new Mac. I'm trying to run the dada engine (to generate random text based on rules) but I can't seem to get it to work. I've downloaded the source code, run ./configure, make and sudo make install. It's installed everything I need.

But when I try to run it - no output. I can make the pb program, which is the text generator, work fine if I include commands which don't involve the C preprocessor. The user interface, dada, contains the following code:

Code:
#!/bin/sh
# User interface/wrapper for the Dada Engine
# Author:    acb
# Commenced: 14-7-1995

PBDIR="/usr/local/bin"
DADAROOT="/usr/local/lib/dada"
CPP=""

#CPP="/lib/cpp"
#CPPARGS="-lang-c++"
FILES=""
#PB="`dirname $0`/pb"
#INCLUDE="-I`dirname $0`/include -I$DADAROOT/include"
PB="${PBDIR}/pb"
INCLUDE="-I${DADAROOT}/include"

while test $# -gt 0
do
  case $1 in
    -D*) CPPARGS="$1 $CPPARGS";;
    -o) PBARGS="$PBARGS $1 $2"; shift;;
    -p) PBARGS="$PBARGS $1";;
    -r) PBARGS="$PBARGS $1 $2"; shift;;
    -s) PBARGS="$PBARGS $1 $2"; shift;;
    -w) PBARGS="$PBARGS $1 $2"; shift;;
    *) CPPARGS="$CPPARGS $1";;
  esac
  shift
done

($CPP $INCLUDE $CPPARGS 2>/dev/null) | $PB $PBARGS

I'm sure there must be a problem with a path in there somewhere or something. /lib/cpp doesn't exist on my machine, for example, but I tried changing this to the location of cpp (/usr/bin/cpp) but still no output.

Sorry for the length of the post, it's just frustrating to try and work this out!

Thanks for your time.

--
System information:
iMac G5
Mac OS X 10.3.9
Darwin Kernel Version 7.9.0

Software:
Dada engine 1.03 by Andrew C. Bulhak
 

We Also Found This Discussion For You

1. Solaris

Facing problem with installing CF engine software in solaris 10

Dear experts, I am using solaris 10 OS.I am installing CF engine software in the server while doing so ,i am getting following error checking for BerkeleyDB location in default... configure: error: >> Cannot find BerkeleyDB I am installing the Berkely DB 5.3.I am strugging... (1 Reply)
Discussion started by: muraliinfy04
1 Replies
mfontset_lookup(3m17n)						 The m17n Library					    mfontset_lookup(3m17n)

NAME
mfontset_lookup - Lookup a fontset. SYNOPSIS
MPlist * mfontset_lookup (MFontset * fontset, MSymbol script, MSymbol language, MSymbol charset) DESCRIPTION
Lookup a fontset. The mfontset_lookup() function lookups fontset and returns a plist that describes the contents of fontset corresponding to the specified script, language, and charset. If script is Mt, keys of the returned plist are script name symbols for which some fonts are specified and values are NULL. If script is a script name symbol, the returned plist is decided by language. o If language is Mt, keys of the plist are language name symbols for which some fonts are specified and values are NULL. A key may be Mt which means some fallback fonts are specified for the script. o If language is a language name symbol, the plist is a FONT-GROUP for the specified script and language. FONT-GROUP is a plist whose keys are FLT (FontLayoutTable) name symbols (Mt if no FLT is associated with the font) and values are pointers to MFont. o If language is Mnil, the plist is fallback FONT-GROUP for the script. If script is Mnil, the returned plist is decided as below. o If charset is Mt, keys of the returned plist are charset name symbols for which some fonts are specified and values are NULL. o If charset is a charset name symbol, the plist is a FONT-GROUP for the charset. o If charset is Mnil, the plist is a fallback FONT-GROUP. RETURN VALUE
It returns a plist describing the contents of a fontset. The plist should be freed by m17n_object_unref(). COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST) Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. Version 1.6.2 12 Jan 2011 mfontset_lookup(3m17n)
All times are GMT -4. The time now is 07:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy