tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] autoconfiscation


From: Peter Lund
Subject: Re: [Tinycc-devel] autoconfiscation
Date: Wed, 29 Aug 2007 11:07:54 +0200

On Tue, 2007-08-28 at 22:41 +0200, Attila Kinali wrote:

> > I tried as an experiment last year to see how far I could get without
> > using any kind of configure script, just with a GNU makefile (*).
> 
> Can you tell more about this? I'd be very interested to hear/read
> how far make can be taken.

Very far.

Here's a demonstration session that's about half an hour old.

You can find the code at http://vax64.dk/bølge

(if your setup is Scandinavian challenged, try without the slash across
the o.)

-Peter
address@hidden:~/Desktop $ mkdir bølge
address@hidden:~/Desktop $ cd bølge/
address@hidden:~/Desktop/bølge $ darcs init
address@hidden:~/Desktop/bølge $ darcs pull --all 
http://vax64.dk/repos/bølgeFinished pulling and applying.
address@hidden:~/Desktop/bølge $ ll
total 124
-rw-r--r-- 1 firefly firefly   975 2007-08-29 10:04 CODINGSTYLE
drwxr-xr-x 6 firefly firefly  4096 2007-08-29 10:04 _darcs
drwxr-xr-x 2 firefly firefly  4096 2007-08-29 10:04 desktop
drwxr-xr-x 2 firefly firefly  4096 2007-08-29 10:04 docs
drwxr-xr-x 3 firefly firefly  4096 2007-08-29 10:04 glade
-rw-r--r-- 1 firefly firefly 17989 2007-08-29 10:04 GPL-2
-rw-r--r-- 1 firefly firefly 11182 2007-08-29 10:04 Makefile
-rw-r--r-- 1 firefly firefly  1932 2007-08-29 10:04 Makefile-basic.inc
-rw-r--r-- 1 firefly firefly  6530 2007-08-29 10:04 Makefile-config.inc
-rw-r--r-- 1 firefly firefly  2472 2007-08-29 10:04 Makefile-dep.inc
-rw-r--r-- 1 firefly firefly 16509 2007-08-29 10:04 Makefile-feature-test.inc
drwxr-xr-x 3 firefly firefly  4096 2007-08-29 10:04 man
drwxr-xr-x 2 firefly firefly  4096 2007-08-29 10:04 pixmaps
-rw-r--r-- 1 firefly firefly  5569 2007-08-29 10:04 README
-rw-r--r-- 1 firefly firefly  6458 2007-08-29 10:04 ROADMAP
drwxr-xr-x 3 firefly firefly  4096 2007-08-29 10:04 src
drwxr-xr-x 2 firefly firefly  4096 2007-08-29 10:04 test
drwxr-xr-x 2 firefly firefly  4096 2007-08-29 10:04 tools
address@hidden:~/Desktop/bølge $ less README 
address@hidden:~/Desktop/bølge $ make
Depend check test/desktop-icons.c
Depend check test/desktop-simple.c
Depend check test/expand3.c
Depend check test/expand2.c
Depend check test/expand.c
Depend check test/vcd-shell-cpp.cc
Depend check test/vcd-shell.c
Depend check src/bølge.c
Depend check src/wave.c
Depend check src/zoom.c
Depend check src/recent-files/egg-recent-view-uimanager.c
Depend check src/recent-files/egg-recent-view-gtk.c
Depend check src/recent-files/egg-recent-view.c
Depend check src/recent-files/egg-recent-util.c
Depend check src/recent-files/egg-recent-model.c
Depend check src/recent-files/egg-recent-item.c
Depend check src/recent-wrapper.c
Depend check src/vcd-struct.c
Depend check src/vcd-write.c
Depend check src/vcd-read.c
Depend check src/desktop.c
Checking     CC
Checking     GtkRecentManager
Checking     pangocairo
Checking     pango
Checking     cairo
Checking     gtk+-2.0
Checking     gnome-vfs-module-2.0
Checking     glib-2.0
Checking     libglade-2.0
Checking     libgnomeui-2.0
Checking     libgnome-2.0
Checking     pkg-config
Checking     glib-genmarshal
Checking     rsvg
Checking     thread-local storage support
Checking     LD
Checking     CXX
Please install rsvg (librsvg2-bin)
Makefile:54: *** .  Stop.
make: *** [all] Error 2
address@hidden:~/Desktop/bølge $ sudo apt-get install librsvg2-bin
Password:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  rcs
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  librsvg2-bin
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 62,0kB of archives.
After unpacking 160kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com feisty/main librsvg2-bin 2.16.0-0ubuntu2 
[62,0kB]
Fetched 62,0kB in 0s (257kB/s)      
Selecting previously deselected package librsvg2-bin.
(Reading database ... 333160 files and directories currently installed.)
Unpacking librsvg2-bin (from .../librsvg2-bin_2.16.0-0ubuntu2_i386.deb) ...
Setting up librsvg2-bin (2.16.0-0ubuntu2) ...
address@hidden:~/Desktop/bølge $ make
Generating   src/marshal.h
Depend check src/wave.c
Checking     CC
Checking     GtkRecentManager
Checking     pangocairo
Checking     pango
Checking     cairo
Checking     gtk+-2.0
Checking     gnome-vfs-module-2.0
Checking     glib-2.0
Checking     libglade-2.0
Checking     libgnomeui-2.0
Checking     libgnome-2.0
Checking     pkg-config
Checking     glib-genmarshal
Checking     rsvg
Checking     thread-local storage support
Checking     LD
Checking     CXX
Please install libgnome-2.0 version 2.12 or higher
Please install libgnomeui-2.0 version 2.12 or higher
Please install libglade-2.0 version 2.5 or higher
Please install gnome-vfs-module-2.0 version 2.14 or higher
Makefile:68: *** .  Stop.
make: *** [all] Error 2
address@hidden:~/Desktop/bølge $ sudo apt-get install libgnome-2.0 
libgnomeui-2.0 libglade-2.0 gnome-vfs-module-2.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package libgnome-2.0
address@hidden:~/Desktop/bølge $ apt-cache search 
address@hidden:~/Desktop/bølge $ apt-cache search libgnome2
libgnome2-0 - The GNOME 2 library - runtime files
libgnome2-canvas-perl - Perl interface to the GNOME canvas library
libgnome2-common - The GNOME 2 library - common files
libgnome2-dev - The GNOME 2 library - development files
libgnome2-doc - The GNOME 2 library - documentation files
libgnome2-perl - Perl interface to the GNOME libraries
libgnome2-vfs-perl - Perl interface to the 2.x series of the GNOME VFS library
libgnome2.0-cil - CLI binding for Gnome 2.16
libgnome2-gconf-perl - Perl interface to the GNOME GConf library
libgnome2-print-perl - Perl interface to the GNOME Printing libraries
libgnome2-ruby - GNOME 2 bindings for the Ruby language
libgnome2-wnck-perl - Perl interface to the Window Navigator Construction Kit
address@hidden:~/Desktop/bølge $ sudo apt-get install libgnome2-0 
libgnomeui-2.0 libglade-2.0 gnome-vfs-module-2.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgnome2-0 is already the newest version.
E: Couldn't find package libgnomeui-2.0
address@hidden:~/Desktop/bølge $ sudo apt-get install libgnome2-0-dev 
libgnomeui-2.0 libglade-2.0 gnome-vfs-module-2.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package libgnome2-0-dev
address@hidden:~/Desktop/bølge $ sudo apt-get install libgnome2-dev 
libgnomeui-2.0 libglade-2.0 gnome-vfs-module-2.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package libgnomeui-2.0
address@hidden:~/Desktop/bølge $ apt-cache search libgnomeuilibgail-gnome-dbg - 
libgail-gnome library and debugging symbols
libgail-gnome-dev - Development files of libgail-gnome
libgail-gnome-module - GNOME Accessibility Implementation Module for 
GnomeUI/BonoboUI
libgnomeui-0 - The GNOME 2 libraries (User Interface) - runtime files
libgnomeui-0-dbg - The GNOME 2 libraries (User Interface) and debugging symbols
libgnomeui-common - The GNOME 2 libraries (User Interface) - common files
libgnomeui-dev - The GNOME 2 libraries (User Interface) - development files
libgnomeui-doc - The GNOME 2 libraries (User Interface) - documentation files
libgnomeuimm-2.6-1c2a - C++ wrappers for libgnomeui (shared library)
libgnomeuimm-2.6-dev - C++ wrappers for libgnomeui (development files)
guile-gnome0-gnome-ui - Guile bindings for libgnome
libbakery-2.3-16 - A C++ Application Framework (shared libraries)
libbakery-2.3-common - A C++ Application Framework (common files)
libbakery-2.3-dev - A C++ Application Framework (development files)
libbakery-2.4-1 - A C++ Application Framework (shared libraries)
libbakery-2.4-common - A C++ Application Framework (common files)
libbakery-2.4-dev - A C++ Application Framework (development files)
libgnome-perl - Perl module for the gnome and zvt libraries
libgnomeui32 - The GNOME libraries (User Interface)
address@hidden:~/Desktop/bølge $ sudo apt-get install libgnome2-dev 
libgnomeui-dev libglade2-dev gnome-vfs-module-2.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package gnome-vfs-module-2.0
address@hidden:~/Desktop/bølge $ apt-cache search 
address@hidden:~/Desktop/bølge $ apt-cache search gnome-vfs
gnome-mount - wrapper for (un)mounting and ejecting storage devices
libgnome-vfsmm-2.6-1c2a - C++ wrappers for GnomeVFS (shared library)
libgnome-vfsmm-2.6-dev - C++ wrappers for GnomeVFS (development files)
libgnome2-vfs-perl - Perl interface to the 2.x series of the GNOME VFS library
libgsf-gnome-1-114 - Structured File Library - runtime version for GNOME
libgsf-gnome-1-dev - Structured File Library - development files for GNOME
totem - A simple media player for the Gnome desktop (dummy package)
totem-gstreamer - A simple media player for the Gnome desktop based on gstreamer
gnome-vfs-extfs - The GNOME virtual file-system extra fs scripts for GMC.
gnome-vfs-obexftp - Obex FTP GnomeVFS module
libcairo-java - CAIRO bindings for Java
libcairo-java-doc - CAIRO bindings for Java (API documentation)
libcairo-java-gcj - CAIRO bindings for Java (native code for use with gij)
libgconf-java - LIBGCONF bindings for Java
libgconf-java-doc - LIBGCONF bindings for Java (API documentation)
libgconf-java-gcj - LIBGCONF bindings for Java (native code for use with gij)
libghttp-dev - original GNOME HTTP client library - development kit
libglade-java - LIBGLADE bindings for Java
libglade-java-doc - LIBGLADE bindings for Java (API documentation)
libglade-java-gcj - LIBGLADE bindings for Java (native code for use with gij)
libglib-java - GLIB bindings for Java
libglib-java-doc - GLIB bindings for Java (API documentation)
libglib-java-gcj - GLIB bindings for Java (native code for use with gij)
libgnetwork1.0-0 - networking wrapper library using Glib/GObject
libgnetwork1.0-dev - networking wrapper library using Glib/GObject (development 
files)
libgnome-java - Gnome bindings for Java
libgnome-java-doc - Gnome bindings for Java (native code for use with gij)
libgnome-java-gcj - Gnome bindings for Java (native code for use with gij)
libgnome-jni - Gnome bindings for Java
libgnome-vfs-common - The GNOME virtual file-system libraries common files
libgnome-vfs-dev - Libraries and include files for developing GNOME VFS 
applications
libgnome-vfs0 - The GNOME virtual file-system libraries
libgnomevfs2-ruby - GNOME VFS 2 bindings for the Ruby language
libgtk-java - GTK+ bindings for Java
libgtk-java-doc - GTK+ bindings for Java (API documentation)
libgtk-java-gcj - GTK+ bindings for Java (native code for use with gij)
libgtk-jni - GTK+ bindings for Java
libvte-java - VTE bindings for Java
libvte-java-doc - VTE bindings for Java (API documentation)
libvte-java-gcj - VTE bindings for Java (native code for use with gij)
totem-xine - A simple media player for the Gnome desktop based on xine
xulrunner-gnome-support - Support for Gnome in xulrunner applications
firefox-gnome-support - Support for Gnome in Mozilla Firefox
address@hidden:~/Desktop/bølge $ apt-cache search gnomevfs
gnome-mime-data - base MIME and Application database for GNOME.
gstreamer0.10-gnomevfs - GStreamer plugin for GnomeVFS
libgnome-vfsmm-2.6-1c2a - C++ wrappers for GnomeVFS (shared library)
libgnome-vfsmm-2.6-dev - C++ wrappers for GnomeVFS (development files)
libgnome2.0-cil - CLI binding for Gnome 2.16
libgnomevfs2-0 - GNOME virtual file-system (runtime libraries)
libgnomevfs2-0-dbg - GNOME virtual file-system (debugging libraries)
libgnomevfs2-bin - GNOME virtual file-system (support binaries)
libgnomevfs2-common - GNOME virtual file-system (common files)
libgnomevfs2-dev - GNOME virtual file-system library (development files)
libgnomevfs2-extra - GNOME virtual file-system (extra modules)
gnome-vfs-obexftp - Obex FTP GnomeVFS module
goobox - CD player and ripper for GNOME
gstreamer0.8-gnomevfs - Gnome VFS plugin for GStreamer
guile-gnome0-vfs - Guile bindings for GnomeVFS
libgnomevfs2-ruby - GNOME VFS 2 bindings for the Ruby language
libntfs-gnomevfs - NTFS GNOME virtual filesystem module
address@hidden:~/Desktop/bølge $ sudo apt-get install libgnome2-dev 
libgnomeui-dev libglade2-dev libgnomevfs2-extra
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgnomevfs2-extra is already the newest version.
The following packages were automatically installed and are no longer required:
  rcs
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libbonoboui2-dev libgconf2-dev libgnomevfs2-dev
Suggested packages:
  glade-2 glade-gnome-2
The following NEW packages will be installed:
  libbonoboui2-dev libgconf2-dev libglade2-dev libgnome2-dev libgnomeui-dev
  libgnomevfs2-dev
0 upgraded, 6 newly installed, 0 to remove and 10 not upgraded.
Need to get 1761kB of archives.
After unpacking 5865kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://archive.ubuntu.com feisty/main libglade2-dev 1:2.6.0-3 [129kB]
Get:2 http://archive.ubuntu.com feisty/main libgconf2-dev 2.18.0.1-0ubuntu1 
[271kB]
Get:3 http://archive.ubuntu.com feisty/main libgnomevfs2-dev 1:2.18.1-0ubuntu1 
[533kB]
Get:4 http://archive.ubuntu.com feisty/main libgnome2-dev 2.18.0-0ubuntu1 
[112kB]
Get:5 http://archive.ubuntu.com feisty/main libbonoboui2-dev 2.18.0-0ubuntu1 
[286kB]
Get:6 http://archive.ubuntu.com feisty/main libgnomeui-dev 2.17.92-0ubuntu1 
[430kB]
Fetched 1761kB in 8s (216kB/s)                                                 
Selecting previously deselected package libglade2-dev.
(Reading database ... 333174 files and directories currently installed.)
Unpacking libglade2-dev (from .../libglade2-dev_1%3a2.6.0-3_i386.deb) ...
Selecting previously deselected package libgconf2-dev.
Unpacking libgconf2-dev (from .../libgconf2-dev_2.18.0.1-0ubuntu1_i386.deb) ...
Selecting previously deselected package libgnomevfs2-dev.
Unpacking libgnomevfs2-dev (from 
.../libgnomevfs2-dev_1%3a2.18.1-0ubuntu1_i386.deb) ...
Selecting previously deselected package libgnome2-dev.
Unpacking libgnome2-dev (from .../libgnome2-dev_2.18.0-0ubuntu1_i386.deb) ...
Selecting previously deselected package libbonoboui2-dev.
Unpacking libbonoboui2-dev (from .../libbonoboui2-dev_2.18.0-0ubuntu1_i386.deb) 
...
Selecting previously deselected package libgnomeui-dev.
Unpacking libgnomeui-dev (from .../libgnomeui-dev_2.17.92-0ubuntu1_i386.deb) ...
Setting up libglade2-dev (2.6.0-3) ...

Setting up libgconf2-dev (2.18.0.1-0ubuntu1) ...

Setting up libgnomevfs2-dev (2.18.1-0ubuntu1) ...
Setting up libgnome2-dev (2.18.0-0ubuntu1) ...
Setting up libbonoboui2-dev (2.18.0-0ubuntu1) ...
Setting up libgnomeui-dev (2.17.92-0ubuntu1) ...
address@hidden:~/Desktop/bølge $ makeChecking     CC
Checking     GtkRecentManager
Checking     pangocairo
Checking     pango
Checking     cairo
Checking     gtk+-2.0
Checking     gnome-vfs-module-2.0
Checking     glib-2.0
Checking     libglade-2.0
Checking     libgnomeui-2.0
Checking     libgnome-2.0
Checking     pkg-config
Checking     glib-genmarshal
Checking     rsvg
Checking     thread-local storage support
Checking     LD
Checking     CXX
Compiling    src/bølge.c
Compiling    src/wave.c
Compiling    src/zoom.c
Generating   src/marshal.c
Compiling    src/marshal.c
Compiling    src/vcd-read.c
Compiling    src/vcd-write.c
Compiling    src/vcd-struct.c
Linking      src/vcd.o
Compiling    src/recent-wrapper.c
Linking      src/recent.o
Compiling    src/desktop.c
Linking      bølge
Compiling    test/vcd-shell.c
Linking      test/vcd-shell
Compiling    test/vcd-shell-cpp.cc
Linking      test/vcd-shell-cpp
Compiling    test/expand.c
Linking      test/expand
Compiling    test/expand2.c
Linking      test/expand2
Compiling    test/expand3.c
Linking      test/expand3
Compiling    test/desktop-simple.c
Linking      test/desktop-simple
Compiling    test/desktop-icons.c
Linking      test/desktop-icons
Creating     desktop/icons/128x128/mimetypes/gnome-mime-application-x-vcd.png
Creating     desktop/icons/64x64/mimetypes/gnome-mime-application-x-vcd.png
Creating     desktop/icons/48x48/mimetypes/gnome-mime-application-x-vcd.png
Creating     desktop/icons/32x32/mimetypes/gnome-mime-application-x-vcd.png
Creating     desktop/icons/24x24/mimetypes/gnome-mime-application-x-vcd.png
Creating     desktop/icons/16x16/mimetypes/gnome-mime-application-x-vcd.png
address@hidden:~/Desktop/bølge $ ll
total 384
lrwxrwxrwx 1 firefly firefly      6 2007-08-29 10:11 bolge -> bølge
-rwxr-xr-x 1 firefly firefly 260092 2007-08-29 10:11 bølge
-rw-r--r-- 1 firefly firefly    975 2007-08-29 10:04 CODINGSTYLE
drwxr-xr-x 6 firefly firefly   4096 2007-08-29 10:04 _darcs
drwxr-xr-x 3 firefly firefly   4096 2007-08-29 10:11 desktop
drwxr-xr-x 2 firefly firefly   4096 2007-08-29 10:04 docs
drwxr-xr-x 3 firefly firefly   4096 2007-08-29 10:04 glade
-rw-r--r-- 1 firefly firefly  17989 2007-08-29 10:04 GPL-2
-rw-r--r-- 1 firefly firefly  11182 2007-08-29 10:04 Makefile
-rw-r--r-- 1 firefly firefly   1932 2007-08-29 10:04 Makefile-basic.inc
-rw-r--r-- 1 firefly firefly   6530 2007-08-29 10:04 Makefile-config.inc
-rw-r--r-- 1 firefly firefly   2472 2007-08-29 10:04 Makefile-dep.inc
-rw-r--r-- 1 firefly firefly  16509 2007-08-29 10:04 Makefile-feature-test.inc
drwxr-xr-x 3 firefly firefly   4096 2007-08-29 10:04 man
drwxr-xr-x 2 firefly firefly   4096 2007-08-29 10:04 pixmaps
-rw-r--r-- 1 firefly firefly   5569 2007-08-29 10:04 README
-rw-r--r-- 1 firefly firefly   6458 2007-08-29 10:04 ROADMAP
drwxr-xr-x 3 firefly firefly   4096 2007-08-29 10:11 src
drwxr-xr-x 2 firefly firefly   4096 2007-08-29 10:11 test
drwxr-xr-x 2 firefly firefly   4096 2007-08-29 10:04 tools
address@hidden:~/Desktop/bølge $ ./bølge 


reply via email to

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