Results 1 to 12 of 12

Thread: Problem making linux novashell

  1. #1

    Default Problem making linux novashell

    Hi there. I obtained Novashell from svn and opened the KDevelop file. I tried to "Build Project" in the build menu, and I got the response:

    There is neither a Makefile.cvs not an autogen.sh script in the project directory.

    which is true, but unhelpful. There is a Makefile.am, but looking at it gives me no enlightenment.

    How do I compile this? The readme is rather sketchy; it just says "it should work with KDevelop after you download ClanLib 0.8"

    Thanks.

    Richard

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,343

    Default

    Hrm, you might be the first person to try to build it in linux besides me, so it's very likely that I forgot to commit a file or something like that.

    First, please try this:

    Open the project in KDevelop, then:

    1. Set Project->Build Configuration->Optimized
    2. Run Build->Run Configure
    3. Run Automake & friends

    Now try Build Project again.
    Seth A. Robinson
    Robinson Technologies

  3. #3

    Default

    Tried that, got to the 'run configure' step and encountered this:


    mkdir '/home/rboehme/user/projects/lib/novashell-src/optimized' && cd '/home/rboehme/user/projects/lib/novashell-src/optimized' && CXXFLAGS="-O2 -g0" "/home/rboehme/user/projects/lib/novashell-src/configure" --prefix=/home/mrfun/dev/novashell
    /bin/sh: /home/rboehme/user/projects/lib/novashell-src/configure: not found
    *** Exited with status: 127 ***



    What does svn status tell you is not checked in?

  4. #4
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,343

    Default

    Will check this out and get back to ya, sorry for the slow replies!
    Seth A. Robinson
    Robinson Technologies

  5. #5

    Default

    It's OK; my checking for replies is slow, so when I had checked, you had posted.

  6. #6
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,343

    Default

    Ok, I've committed some more files. Please give 'er another go!
    Seth A. Robinson
    Robinson Technologies

  7. #7

    Default

    Interesting.... the configure script is asking for /etc/ld.so.conf.d/*.conf , not finding it, and not liking it (according to KDevelop)

    I did it in KDevelop first, then the command line.

    I'll try grabbing a clean copy later on.

    Thanks.

    Richard





    The command line gives me:

    rboehme@rfbnew:~/user/projects/lib/novashell-src$ ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for g++... g++
    checking for C++ compiler default output file name... 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 g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for egrep... grep -E
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    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 dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... no
    checking for fort... no
    checking for xlf95... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for gfortran... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether accepts -g... no
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
    GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
    GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: error: cannot find input file: source/Makefile.in







    rboehme@rfbnew:~/user/work/workspaces$ ls -al /etc/ld.so.conf.d/
    total 16
    drwxr-xr-x 2 root root 4096 2007-04-04 11:50 .
    drwxr-xr-x 174 root root 8192 2008-02-18 21:46 ..
    -rwxr-xr-x 1 root root 64 2006-10-10 10:33 i486-linux-gnu
    rboehme@rfbnew:~/user/work/workspaces$ ls -al /etc/ld.so.conf.d/i486-linux-gnu
    -rwxr-xr-x 1 root root 64 2006-10-10 10:33 /etc/ld.so.conf.d/i486-linux-gnu
    rboehme@rfbnew:~/user/work/workspaces$ vi /etc/ld.so.conf.d/i486-linux-gnu
    rboehme@rfbnew:~/user/work/workspaces$ cat /etc/ld.so.conf.d/i486-linux-gnu
    # Multiarch support
    /lib/i486-linux-gnu
    /usr/lib/i486-linux-gnu
    rboehme@rfbnew:~/user/work/workspaces$ ls -al /lib/i486-linux-gnu/
    total 12
    drwxr-xr-x 2 root root 4096 2006-10-10 10:33 .
    drwxr-xr-x 19 root root 8192 2007-12-11 13:45 ..
    rboehme@rfbnew:~/user/work/workspaces$ ls -al /usr/lib
    lib/ lib32/ lib64/
    rboehme@rfbnew:~/user/work/workspaces$ ls -al /usr/lib/i486
    i486/ i486-linux-gnu/
    rboehme@rfbnew:~/user/work/workspaces$ ls -al /usr/lib/i486-linux-gnu/
    total 80
    drwxr-xr-x 2 root root 4096 2006-10-10 10:33 .
    drwxr-xr-x 241 root root 73728 2008-02-14 13:03 ..
    rboehme@rfbnew:~/user/work/workspaces$ ls -al /etc/ld.so.conf
    -rw-r--r-- 1 root root 33 2007-03-17 16:07 /etc/ld.so.conf
    rboehme@rfbnew:~/user/work/workspaces$ cat /etc/ld.so.conf
    include /etc/ld.so.conf.d/*.conf

  8. #8
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,343

    Default

    Hmm, the .in files say "generated from the makefile.am" so I figured some part of autotools would generate those..

    I've committed all of the .in files, maybe that will do the trick.

    Also, when updating, be sure to update the novashell dir AND the SharedLib dir.
    Seth A. Robinson
    Robinson Technologies

  9. #9

    Default

    Quote Originally Posted by Seth View Post
    Hmm, the .in files say "generated from the makefile.am" so I figured some part of autotools would generate those..

    I've committed all of the .in files, maybe that will do the trick.

    Also, when updating, be sure to update the novashell dir AND the SharedLib dir.
    Hmm, seems like I already had the .in files, but is still won't make. Can you remove the .in files from svn, and tell me what happens on your machine when it's successful? What does the list of files that aren't in svn look like?

  10. #10
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,343

    Default

    Ok, I'm going to bite the bullet and do what I should have done in the beginning, a full checkout into a new dir and see what happens when I build.
    Seth A. Robinson
    Robinson Technologies

  11. #11

    Default

    already tried this:

    cd /location/where/he/is/saved/and/extracted
    ./novashell
    Last edited by rayman; 05-07-2008 at 08:44 AM. Reason: the place where stands cd /location ... was in dutch

  12. #12
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,343

    Default

    Just an update, I redid the linux setup, should be easier to build now. No longer requires any screwing with directories, just a standard single check out is needed now.
    Seth A. Robinson
    Robinson Technologies

Similar Threads

  1. NovaShell in Linux won't start (joystick error)
    By ArmiMaan in forum Novashell Game Creation System
    Replies: 2
    Last Post: 02-18-2008, 12:34 PM
  2. Cannot run Novashell under Linux
    By dschiavon in forum Novashell Game Creation System
    Replies: 3
    Last Post: 01-04-2008, 05:52 PM
  3. Making Dink Games in Novashell?
    By Harsh-it in forum Novashell Game Creation System
    Replies: 8
    Last Post: 12-14-2007, 04:20 PM
  4. Novashell in Linux -- First Impression
    By xer0kill in forum Novashell Game Creation System
    Replies: 1
    Last Post: 08-03-2007, 04:31 PM
  5. Need help in making new d-mod
    By axeflame in forum Dink Smallwood HD
    Replies: 2
    Last Post: 05-17-2007, 03:32 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •