You are not logged in.

#1 2010-12-24 14:07:50

cephalopoid
Member
Registered: 2009-08-05
Posts: 23

Trouble compiling fractal viewer Quat

I was busy trying to compile Quat, but ./configure spew these sed errors at me.

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether the C compiler supports -Wall... yes
checking whether the C compiler supports -O3... yes
checking whether the C compiler supports -ffast-math... yes
checking for library containing pow... -lm
checking for floor... yes
checking for pow... yes
checking for sqrt... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking for fltk-config... /usr/bin/fltk-config
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the C++ compiler supports -Wall... yes
checking whether the C++ compiler supports -fno-exceptions... yes
checking whether the C++ compiler supports -fno-rtti... yes
checking whether the C++ compiler supports -O3... yes
checking whether the C++ compiler supports -ffast-math... yes
checking whether the C++ compiler needs std::... yes
checking for M_PI... yes
checking whether Fl_Pixmap needs const char*const*... no
configure: creating ./config.status
config.status: creating Makefile
sed: file /tmp/cszLfEEN/subs-3.sed line 3: unknown command: `['
sed: file /tmp/cszLfEEN/subs-2.sed line 27: unterminated `s' command
config.status: creating doc/Makefile
sed: file /tmp/cszLfEEN/subs-3.sed line 3: unknown command: `['
sed: file /tmp/cszLfEEN/subs-2.sed line 27: unterminated `s' command
config.status: creating kernel/Makefile
sed: file /tmp/cszLfEEN/subs-3.sed line 3: unknown command: `['
sed: file /tmp/cszLfEEN/subs-2.sed line 27: unterminated `s' command
config.status: creating gui/Makefile
sed: file /tmp/cszLfEEN/subs-2.sed line 27: unterminated `s' command
sed: file /tmp/cszLfEEN/subs-3.sed line 3: unknown command: `['
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands

I'm not a dev or programmer, but I'm willing to learn. Some pointers on how to solve these kinds of problems should be enough to get me going.

EDIT: To help you help me help us all, here's a link where you can find the quat source.

Last edited by cephalopoid (2010-12-24 14:50:26)

Offline

#2 2010-12-24 15:02:04

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Trouble compiling fractal viewer Quat

Making a PKGBUILD would be best.  I've never used quat, but the following example got it to build on my PC.

pkgname=quat
pkgver=1.20
pkgrel=1
pkgdesc="Quat is a program for the calculation of genuine three dimensional fractals"
arch=('i686')
url="http://www.physcip.uni-stuttgart.de/phy11733/quat_e.html"
license=('GPL')
source=(http://www.physcip.uni-stuttgart.de/phy11733/download/$pkgname-$pkgver.tar.gz)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

md5sums=('bd8326147fcd0e674a0f8d56a64fa787')

All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2010-12-24 15:07:16

cephalopoid
Member
Registered: 2009-08-05
Posts: 23

Re: Trouble compiling fractal viewer Quat

$ makepkg
==> Making package: quat 1.20-1 (Fri Dec 24 16:05:47 CET 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading quat-1.20.tar.gz...
--2010-12-24 16:05:47--  http://www.physcip.uni-stuttgart.de/phy11733/download/quat-1.20.tar.gz
Resolving www.physcip.uni-stuttgart.de... 129.69.74.129
Connecting to www.physcip.uni-stuttgart.de|129.69.74.129|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 474448 (463K) [application/x-tar]
Saving to: "quat-1.20.tar.gz.part"

100%[===================================================================================================>] 474,448      601K/s   in 0.8s    

2010-12-24 16:05:48 (601 KB/s) - "quat-1.20.tar.gz.part" saved [474448/474448]

==> Validating source files with md5sums...
    quat-1.20.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting quat-1.20.tar.gz with bsdtar
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether the C compiler supports -Wall... yes
checking whether the C compiler supports -O3... yes
checking whether the C compiler supports -ffast-math... yes
checking for library containing pow... -lm
checking for floor... yes
checking for pow... yes
checking for sqrt... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking for fltk-config... /usr/bin/fltk-config
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the C++ compiler supports -Wall... yes
checking whether the C++ compiler supports -fno-exceptions... yes
checking whether the C++ compiler supports -fno-rtti... yes
checking whether the C++ compiler supports -O3... yes
checking whether the C++ compiler supports -ffast-math... yes
checking whether the C++ compiler needs std::... yes
checking for M_PI... yes
checking whether Fl_Pixmap needs const char*const*... no
configure: creating ./config.status
config.status: creating Makefile
sed: file /tmp/csbcz6kX/subs-3.sed line 3: unknown command: `['
sed: file /tmp/csbcz6kX/subs-2.sed line 27: unterminated `s' command
config.status: creating doc/Makefile
sed: file /tmp/csbcz6kX/subs-3.sed line 3: unknown command: `['
sed: file /tmp/csbcz6kX/subs-2.sed line 27: unterminated `s' command
config.status: creating kernel/Makefile
sed: file /tmp/csbcz6kX/subs-3.sed line 3: unknown command: `['
sed: file /tmp/csbcz6kX/subs-2.sed line 27: unterminated `s' command
config.status: creating gui/Makefile
sed: file /tmp/csbcz6kX/subs-2.sed line 27: unterminated `s' command
sed: file /tmp/csbcz6kX/subs-3.sed line 3: unknown command: `['
config.status: creating config.h
config.status: executing default-1 commands
make: *** No targets.  Stop.
    Aborting...

Doesn't build here for some reason...

Offline

#4 2010-12-24 15:26:09

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Trouble compiling fractal viewer Quat

The sed commands fail once fltk is installed.  I'm sorry but I don't know enough sed to fix it.  The "unterminated `s' command" looks like quite a clue though.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

Board footer

Powered by FluxBB