debian package for newLisp

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

All major work seems to be done now.
The distro of 9.0.19 is now ready for sarge/i386, etch/i386, etch/amd64 versions.
Also sarge/source and etch/source are ready for rebuild.

Lutz, take a look under "util" folder, please (dpkg -L newlisp) - can I leave this?

Nigel, can you build it on Ubuntu?
WBR, Dmi

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Thanks Dmity, I don't have access to a PC at the moment, but will look at everything tomorrow.

Lutz

nigelbrown
Posts: 429
Joined: Tue Nov 11, 2003 2:11 am
Location: Brisbane, Australia

Post by nigelbrown »

Hi

9.0.19 builds fine on Ubuntu 6.10 Desktop viz.
ubuntu@ubuntu:~$ newlisp
newLISP v.9.0.19 on Linux, execute 'newlisp -h' for more info.

> (exit)
ubuntu@ubuntu:~$ newlisp-tk
newLISP v.9019 listening on port 64001
Connected to 127.0.0.1 on Tue Jan 30 09:00:09 2007

The help menu in newlisp-tk finds the manual and tk ref. Build output below.
Thanks Dmi
Regards
Nigel
Build output:

ubuntu@ubuntu:~/newlisp-9.0.19$ fakeroot dpkg-buildpackage
dpkg-buildpackage: source package is newlisp
dpkg-buildpackage: source version is 9.0.19
dpkg-buildpackage: source changed by Dmitry Chernyak <dmi>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 9.0.19
debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/home/ubuntu/newlisp-9.0.19'
rm *~ *.bak *.o *.obj *.map core *.tgz TEST
rm: cannot remove `*~': No such file or directory
rm: cannot remove `*.bak': No such file or directory
rm: cannot remove `*.o': No such file or directory
rm: cannot remove `*.obj': No such file or directory
rm: cannot remove `*.map': No such file or directory
rm: cannot remove `core': No such file or directory
rm: cannot remove `*.tgz': No such file or directory
rm: cannot remove `TEST': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm newlisp-tk/*~ doc/*~ util/*~ examples/*~ modules/*~
rm: cannot remove `newlisp-tk/*~': No such file or directory
rm: cannot remove `doc/*~': No such file or directory
rm: cannot remove `util/*~': No such file or directory
rm: cannot remove `examples/*~': No such file or directory
rm: cannot remove `modules/*~': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm newlisp-tk/*.bak doc/*.bak util/*.bak examples/*.bak modules/*.bak
rm: cannot remove `newlisp-tk/*.bak': No such file or directory
rm: cannot remove `doc/*.bak': No such file or directory
rm: cannot remove `util/*.bak': No such file or directory
rm: cannot remove `examples/*.bak': No such file or directory
rm: cannot remove `modules/*.bak': No such file or directory
make[1]: [clean] Error 1 (ignored)
chmod 644 *.h *.c *.lsp Makefile makefile*
chmod: cannot access `*.lsp': No such file or directory
make[1]: [clean] Error 1 (ignored)
chmod 755 build configure examples/*
chmod 644 doc/* modules/*.lsp examples/*.lsp examples/*.html
chmod 644 newlisp-tk/*
chmod 755 newlisp-tk/*.bat newlisp-tk/*.tcl
chmod 755 newlisp-tk/images
chmod 644 newlisp-tk/images/*
make[1]: Leaving directory `/home/ubuntu/newlisp-9.0.19'
rm newlisp
rm: cannot remove `newlisp': No such file or directory
make: [clean] Error 1 (ignored)
dh_clean
dpkg-source -b newlisp-9.0.19
dpkg-source: building newlisp in newlisp_9.0.19.tar.gz
dpkg-source: building newlisp in newlisp_9.0.19.dsc
debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make linux_debian
make[1]: Entering directory `/home/ubuntu/newlisp-9.0.19'
make -f makefile_debian
make[2]: Entering directory `/home/ubuntu/newlisp-9.0.19'
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX newlisp.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-symbol.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-math.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-list.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-liststr.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-string.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-filesys.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-sock.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-import.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-xml.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-web.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-matrix.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-debug.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX pcre.c
gcc newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o -g -lm -ldl -lreadline -lncurses -o newlisp
strip newlisp
make[2]: Leaving directory `/home/ubuntu/newlisp-9.0.19'
make[1]: Leaving directory `/home/ubuntu/newlisp-9.0.19'
#docbook-to-man debian/newlisp.sgml > newlisp.1
touch build-stamp
debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/newlisp.
/usr/bin/awk -f debian/instprep Makefile >Makefile.debian
/usr/bin/awk -f debian/makedocs Makefile.debian >debian/docs
find doc|grep -v '^doc$' >>debian/docs
/usr/bin/make -f Makefile.debian install DESTDIR=/home/ubuntu/newlisp-9.0.19/debian/newlisp
make[1]: Entering directory `/home/ubuntu/newlisp-9.0.19'
install -d /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/doc/newlisp
install -d /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/newlisp-tk/images
install -m 755 newlisp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/bin/newlisp
install -m 755 newlisp-tk/newlisp-tk.tcl /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/bin/newlisp-tk
install -m 644 init.lsp.example /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/init.lsp.example
install -m 644 examples/httpd-conf.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/httpd-conf.lsp
install -m 644 examples/link.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/link.lsp
install -m 644 examples/tcltk.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/tcltk.lsp
install -m 644 examples/syntax.cgi /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/syntax.cgi
install -m 644 examples/newlispdoc /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/newlispdoc
install -m 644 modules/mysql.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/mysql.lsp
install -m 644 modules/mysql5.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/mysql5.lsp
install -m 644 modules/pop3.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/pop3.lsp
install -m 644 modules/ftp.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/ftp.lsp
install -m 644 modules/infix.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/infix.lsp
install -m 644 modules/smtp.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/smtp.lsp
install -m 644 modules/odbc.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/odbc.lsp
install -m 644 modules/cgi.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/cgi.lsp
install -m 644 modules/sqlite3.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/sqlite3.lsp
install -m 644 modules/stat.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/stat.lsp
install -m 644 modules/gmp.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/gmp.lsp
install -m 644 modules/postscript.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/postscript.lsp
install -m 644 modules/unix.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/unix.lsp
install -m 644 modules/zlib.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/zlib.lsp
install -m 644 doc/COPYING /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/COPYING
install -m 644 doc/CREDITS /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/CREDITS
install -m 644 doc/newlisp_manual.html /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/doc/newlisp/newlisp_manual.html
install -m 644 doc/newlisp_index.html /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/doc/newlisp/newlisp_index.html
install -m 644 doc/manual_frame.html /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/doc/newlisp/manual_frame.html
install -m 644 doc/CodePatterns.html /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/doc/newlisp/CodePatterns.html
install -m 644 newlisp-tk/newlisp-tk.html /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/doc/newlisp/newlisp-tk.html
install -m 644 newlisp-tk/*.lsp /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/newlisp-tk/
install -m 644 newlisp-tk/images/* /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/newlisp/newlisp-tk/images/
install -m 644 doc/newlisp.1 /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/man/man1/newlisp.1
install -m 644 doc/newlisp-tk.1 /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/man/man1/newlisp-tk.1
make[1]: Leaving directory `/home/ubuntu/newlisp-9.0.19'
for i in newlisp.vim newlisp.jsf types.c sql.c; do cp util/$i /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/doc/newlisp/util; done
cp examples/* /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/share/doc/newlisp/examples
cp examples/newlispdoc /home/ubuntu/newlisp-9.0.19/debian/newlisp/usr/bin
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `newlisp' in `../newlisp_9.0.19_i386.deb'.
tar: -: file name read contains nul character
dpkg-genchanges
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload; Debian-native package (full source is included)

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Thanks Nigel and Dmitry,

The output from: dpkg-buildpackage looks Ok to me.


I installed Dmitry's newlisp_9.0.19_i386.deb on a UBUNTU life CD 6.10 with following results/output:

Code: Select all

~> sudo dpkg -i Desktop/newlisp_9.0.19_i386.deb 
Selecting previously deselected package newlisp.
(Reading database ... 90842 files and directories currently installed.)
Unpacking newlisp (from .../newlisp_9.0.19_i386.deb) ...
dpkg: dependency problems prevent configuration of newlisp:
 newlisp depends on libreadline5 (>= 5.2); however:
  Version of libreadline5 on system is 5.1-7build1.
dpkg: error processing newlisp (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 newlisp
~> newlisp
newLISP v.9.0.19 on Linux, execute 'newlisp -h' for more info.

>
The libreadline issue worked out Ok, and newLISP is running fine. But why do I get this, I believe, I installed the etch-package or is my UBUNTO version 6.10 after Etch?

Man pages for newlisp and newlisp-tk worked fine. newlisp-tk would not run because of missing 'wish', wich is then suggested to install by the error output.

Then I inspected the directories:

Code: Select all

/usr/share/newlisp> ls
cgi.lsp  gmp.lsp           link.lsp    newlisp-tk      smtp.lsp     tcltk.lsp 
COPYING  httpd-conf.lsp    mysql5.lsp  odbc.lsp        sqlite3.lsp  unix.lsp
CREDITS  infix.lsp         mysql.lsp   pop3.lsp        stat.lsp     zlib.lsp
ftp.lsp  init.lsp.example  newlispdoc  postscript.lsp  syntax.cgi
The doc /usr/share/newlisp/doc directory is missing. newlisp-tk will look for the following files:

Code: Select all

/usr/share/newlisp/doc/newlisp_manual.html
/usr/share/newlisp/doc/manual_frame.html
/usr/share/newlisp/doc/newlisp_index.html
/usr/share/newlisp/doc/newlisp-tk.html
I understand that Debian wants documentation in /usr/share/doc/newlisp. Then we need links to this place from /usr/share/newlisp/ so newlisp-tk can find the three files.

In /usr/share/doc/newlisp I found the following:

Code: Select all

/usr/share/doc/newlisp> ls
changelog.gz       examples           MemoryManagement.html  newlisp-tk.html
CHANGES.gz         FILES.gz           newlisp.1.gz           README.Debian
CodePatterns.html  INSTALL.gz         newLISPdoc.html        syntax-help
COPYING.gz         keywords.txt       newlisp_index.html     TRU64BUILD
copyright          LOCALIZATION       newlisp_manual.html    util
CREDITS.gz         manual_frame.html  newlisp-tk.1
there are many files which do not belong here. The only files here should be those, that the 'make install' would put into /usr/share/newlisp/doc. These files are the following:

Code: Select all

newlisp_manual.html
newlisp_index.html
newlisp-tk.html
manual_frame.html
CodePatterns.html
no other files should appear here. newlisp.1 and newlisp-tk.1 files are installed in some man directory. Other files here are directed towards developers. Editor support files are at http://newlisp.org. The editor support files are available on http://newlisp.org.

Thanks for the help, it looks like we are getting close to the final package.

Lutz

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

It seems that /usr/share/doc is not only standard on Debian Linux, but also on Mac OS X and FreeBSD. I wonder if this is the same on all LINUX?

Perhaps the installation should move documentation on all platforms to /usr/share/doc/newlisp and the references in newlisp-tk.tcl be changed?

Any comments?

Lutz

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post by pjot »

In Slackware and Zenwalk Linux the docs are also installed in '/usr/share/doc/<package>'. (In fact, '/usr/share/doc' is symlinked to '/usr/doc'.)

These distributions sometimes also provide a version number. So the directory would become '/usr/share/doc/newlis-9.0.19', for example. Most packages are stored without this version number, though.

Peter

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Thanks Peter, the install will then be as follows:

Code: Select all

usr/share/newlisp> ls -ltr
total 448
-rw-r--r--    1 root  wheel   3153 Jan 30 15:14 zlib.lsp
-rw-r--r--    1 root  wheel   7798 Jan 30 15:14 unix.lsp
-rw-r--r--    1 root  wheel    945 Jan 30 15:14 tcltk.lsp
-rwxr-xr-x    1 root  wheel   6166 Jan 30 15:14 syntax.cgi
-rw-r--r--    1 root  wheel  17070 Jan 30 15:14 stat.lsp
-rw-r--r--    1 root  wheel  10866 Jan 30 15:14 sqlite3.lsp
-rw-r--r--    1 root  wheel   3065 Jan 30 15:14 smtp.lsp
-rw-r--r--    1 root  wheel  28185 Jan 30 15:14 postscript.lsp
-rw-r--r--    1 root  wheel   9715 Jan 30 15:14 pop3.lsp
-rw-r--r--    1 root  wheel  16431 Jan 30 15:14 odbc.lsp
-rwxr-xr-x    1 root  wheel   7717 Jan 30 15:14 newlispdoc
-rw-r--r--    1 root  wheel  13104 Jan 30 15:14 mysql5.lsp
-rw-r--r--    1 root  wheel   7024 Jan 30 15:14 mysql.lsp
-rw-r--r--    1 root  wheel   2817 Jan 30 15:14 link.lsp
-rw-r--r--    1 root  wheel   1730 Jan 30 15:14 init.lsp.example
-rw-r--r--    1 root  wheel   3954 Jan 30 15:14 infix.lsp
-rw-r--r--    1 root  wheel   2087 Jan 30 15:14 httpd-conf.lsp
-rw-r--r--    1 root  wheel  15792 Jan 30 15:14 gmp.lsp
-rw-r--r--    1 root  wheel   4366 Jan 30 15:14 ftp.lsp
-rw-r--r--    1 root  wheel   5923 Jan 30 15:14 cgi.lsp
-rw-r--r--    1 root  wheel   5797 Jan 30 15:14 CREDITS
-rw-r--r--    1 root  wheel  15423 Jan 30 15:14 COPYING
drwxr-xr-x   10 root  wheel    340 Jan 30 15:14 newlisp-tk
/usr/share/newlisp> cd ../doc/newlisp/
/usr/share/doc/newlisp> ls -ltr
total 1872
-rw-r--r--   1 root  wheel  721320 Jan 30 15:14 newlisp_manual.html
-rw-r--r--   1 root  wheel   28453 Jan 30 15:14 newlisp_index.html
-rw-r--r--   1 root  wheel   82212 Jan 30 15:14 newlisp-tk.html
-rw-r--r--   1 root  wheel     775 Jan 30 15:14 manual_frame.html
-rw-r--r--   1 root  wheel  111763 Jan 30 15:14 CodePatterns.html
/usr/share/doc/newlisp> 
this should then be good for Mac OS X, all BSDs and all Linux

Lutz

nigelbrown
Posts: 429
Joined: Tue Nov 11, 2003 2:11 am
Location: Brisbane, Australia

Post by nigelbrown »

Hi Lutz
Re libreadline and 6.10 I'd found the 5.2 vs 5.1-7 issue when I tried Dmi's deb earlier :
nigelbrown wrote: I tried the 9.0.16 etch binary deb on Ubuntu but it won't install as it wants readline >=5.2 while ubuntu 6.10 has 5.1-7 as standard.
Nigel
which is why I went to building on Ubuntu. I tried install with gdebi which refused install with the mismatch.
If you like I'll upload an Ubuntu built deb to my site with the rpm's when you're happy with the directory layout. Currently what is there ( http://users.cyberone.com.au/nbrown/newlisp/rpms.html ) is :
"Ubuntu linux deb package made with checkinstall on Ubuntu 6.06 LTS Desktop newlisp-9.0.0_9.0.0-1_i386.deb".
Regards
Nigel

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Thanks Nigel, I see packages made from the development releases rather as an exercise to get it right for 9.1.

Also, why is on your checkinstall packages always the version number repeated: newlisp-9.0.0_9.0.0-1_i386.deb should be just newlisp-9.0.0-1_i386.deb.

Lutz

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

It seems the only way to get a package right is to make it on the system it is targeted to and then offer it only for that system. So an UBUNTU package 6.06 should be made on an UBUNTU system 6.06 etc., including observing naming conventions for that distribution, etc.

Judging from the UBUNTU website their current distribution seems to be 6.10, which is what I was trying this morning (life CD) and got a similar error message for the readline lib you got on 6.06.

The 6.06 they label as a LTS (long term support) release, so may be thats the one we should use, I don't know, any UBUNTU experts on the board?

Lutz

nigelbrown
Posts: 429
Joined: Tue Nov 11, 2003 2:11 am
Location: Brisbane, Australia

Post by nigelbrown »

I'm not an expert but I think you'd have to support both the LTS release, the 6.06 currently, to target web server admins and latest stable desktop, eg 6.10 currently, to target new and updating users. Slightly different groups but both would benefit.

Nigel

nigelbrown
Posts: 429
Joined: Tue Nov 11, 2003 2:11 am
Location: Brisbane, Australia

Post by nigelbrown »

Lutz wrote:why is on your checkinstall packages always the version number repeated: newlisp-9.0.0_9.0.0-1_i386.deb should be just newlisp-9.0.0-1_i386.deb.

Lutz
It's not quite the version number repeated which is how it comes about.
Looking at the checkinstall script the default basename is the 'pwd' returned directory e.g. newlisp-9.0.0 and version 9.0.0 is probably from the makefile. Basically checkinstall default behaviour is to expect the build directory to be the packagename without version info i.e. newlisp. This can be over-ridden but I just used default behaviour.

Nigel

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

Lutz wrote:The output from: dpkg-buildpackage looks Ok to me.

I installed Dmitry's newlisp_9.0.19_i386.deb on a UBUNTU life CD 6.10 with following results/output:

Code: Select all

Unpacking newlisp (from .../newlisp_9.0.19_i386.deb) ...
dpkg: dependency problems prevent configuration of newlisp:
 newlisp depends on libreadline5 (>= 5.2); however:
  Version of libreadline5 on system is 5.1-7build1.
dpkg: error processing newlisp (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 newlisp
>
libreadline conflict has prevented post-install script to make a symlink /usr/share/newlisp/doc -> /usr/share/doc/newlisp

I'll investigate, how can I fix a libreadline compatibility version number independently of one currently installed. I suspect, this then makes etch and ubuntu packages binary compatible, because none of other libs (but libc) are used.
Lutz wrote:Then I inspected the directories:
......
In /usr/share/doc/newlisp I found the following:

Code: Select all

/usr/share/doc/newlisp> ls
changelog.gz       examples           MemoryManagement.html  newlisp-tk.html
CHANGES.gz         FILES.gz           newlisp.1.gz           README.Debian
CodePatterns.html  INSTALL.gz         newLISPdoc.html        syntax-help
COPYING.gz         keywords.txt       newlisp_index.html     TRU64BUILD
copyright          LOCALIZATION       newlisp_manual.html    util
CREDITS.gz         manual_frame.html  newlisp-tk.1
there are many files which do not belong here. The only files here should be those, that the 'make install' would put into /usr/share/newlisp/doc. These files are the following:

Code: Select all

newlisp_manual.html
newlisp_index.html
newlisp-tk.html
manual_frame.html
CodePatterns.html
no other files should appear here. newlisp.1 and newlisp-tk.1 files are installed in some man directory. Other files here are directed towards developers. Editor support files are at http://newlisp.org. The editor support files are available on http://newlisp.org.
Hmmm... there is a slight difference between documentation on the newlisp and documentation on the system package, of newlisp.
For the latter, the documents such as
changelog.gz CHANGES.gz README.Debian INSTALL.gz copyright
are useful and descriptive. For ex., copyright information is suggested by Debian, changelog is a part of each debian package, that holds versioning information, newlisp's CHANGES - is very useful, because most users looks for changes perfectly here...
Also /usr/share/doc/[package]/ is often used to hold additional useful scripts, examples etc.
Directing the users to the site for the editor support files etc. is, probably a good way to rise up a site rating ;-) but is very unuseful for 'no-internet' installations, moreover they are already present in the source tarball :-\

Probably the right structure can look like this:

Code: Select all

dmi@stone:newlisp$ ls -R
.:
changelog.gz  copyright   docs/      manual         util
CHANGES.gz    CREDITS.gz  examples/  README.Debian

./docs:
INSTALL.gz  LOCALIZATION  MemoryManagement.html  newLISPdoc.html

./examples:
client          link.lsp                     server         udp-client.lsp
finger          newlispdoc.gz                sqlite3.cgi    udp-server.lsp
form.cgi        newLISP-Excel-Import.xls.gz  sqlite.cgi     upload.cgi
form.html       newlisp-log.txt              syntax.cgi.gz  upload.html
httpd-conf.lsp  opengl-demo.lsp.gz           syntax-help    xmlrpc.cgi.gz
index.html      prodcons.lsp                 tcltk.lsp      xmlrpc-server.gz

./manual:
CodePatterns.html  newlisp_index.html   newlisp-tk.html
manual_frame.html  newlisp_manual.html

./util:
keywords.txt  newlisp.jsf.gz  newlisp.vim.gz  sql.c  types.c
and then we can do a symlink

Code: Select all

/usr/share/newlisp/doc -> /usr/share/doc/newlisp/manual
WBR, Dmi

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

There are files in the source distribution I do not want to have included in the binary distribution . As written yesterday I will move:

/usr/share/newlisp/doc to: /usr/share/doc/newlisp

then it is not necessary to link files. I also added newLISPdoc. So we come to the following Scheme:

Code: Select all

/usr/share/newlisp> ls
COPYING                 infix.lsp               newlispdoc              stat.lsp
CREDITS                 init.lsp.example        odbc.lsp                syntax.cgi
cgi.lsp                 link.lsp                pop3.lsp                tcltk.lsp
ftp.lsp                 mysql.lsp               postscript.lsp          unix.lsp
gmp.lsp                 mysql5.lsp              smtp.lsp                zlib.lsp
httpd-conf.lsp          newlisp-tk              sqlite3.lsp
/usr/share/newlisp> cd ../doc/newlisp/
/usr/share/doc/newlisp> ls
CodePatterns.html       newLISPdoc.html         newlisp_index.html
manual_frame.html       newlisp-tk.html         newlisp_manual.html
/usr/share/doc/newlisp> 
To this only what is absolutely required by UBUNTU should be added. I do not want to have example progams or any other docs in the package. I am not sure what the rules are for the COPYING and CREDITS files. I left them in the main /usr/share/newlisp directory because they are not strictly usage documentation, but if UBUNTU requires them in /usr/share/doc/newlisp we can move them there.

Thanks

Lutz

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Looking through the "New Maintainer's Guide" for Debian packages it looks like the files COPYING and CREDITS should go into /usr/share/doc/newlisp. A README.Debian made by the packager person should also be included.

README.Debian will not be supplied by 'make install' but will be added to /usr/share/doc/newlisp by the packageing process.

So as of now we have the following contents after an install with the Debian package:

Code: Select all

/usr/share/newlisp> ls
cgi.lsp                 link.lsp                pop3.lsp                tcltk.lsp
ftp.lsp                 mysql.lsp               postscript.lsp          unix.lsp
gmp.lsp                 mysql5.lsp              smtp.lsp                zlib.lsp
httpd-conf.lsp          newlisp-tk              sqlite3.lsp
infix.lsp               newlispdoc              stat.lsp
init.lsp.example        odbc.lsp                syntax.cgi
/usr/share/newlisp> cd ../doc/newlisp/
/usr/share/doc/newlisp> ls
README.Debian
COPYING                 CodePatterns.html       newLISPdoc.html         newlisp_index.html
CREDITS                 manual_frame.html       newlisp-tk.html         newlisp_manual.html
/usr/share/doc/newlisp> 
All files with the exception of README.Debian are supplied by 'make install' README.Debian is supplied by the packager

Lutz

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

Thanks, Lutz!

Ok. Accepted. I'll correct all the stuff.

Nevertheless, some notes:

As I can see, all the 'COPYING' and 'CREDITS' files under /usr/share on my debian system are placed under /usr/share/doc, so I suggest you to move them there too.

Also 'changelog' - debian versioning info will be there, because it is a mandatory part of a debian "deb" package system. Unfortunately, it is meaningless at present because each time a new package is builded by a script.

Also I suggest you to include CHANGES, because it is a significant part of documentation for long living projects and there is no other sources of version compatibility information.

Also a README.Debian - a suggested filename for package maintainer's notes - probably will be there (completely rewritten) as a possible comments to rebuilding source package (utf-8 etc.)

Also, I point your attention again, that /usr/share/doc/newlisp is a package documentation in general - not a pure newlisp usage documentation... but if you prefer.... ;-)

Thanks again, I feel we are close to release :-)
WBR, Dmi

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

Lutz wrote:All files with the exception of README.Debian are supplied by 'make install' README.Debian is supplied by the packager
I was too late with previous message :-))

Very cool!
WBR, Dmi

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Thanks Dmitry,

I will include a newLISP_90_Release_Notes.html file in mayor releases. This file will be handled by 'make install' and go into /usr/share/doc/newlisp too and will inform the user about changes in the new version.
Also 'changelog' - debian versioning info will be there
yes, supplied also by packager

Lutz

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

Source and binary packages for debian etch for newlisp 9.0.20 are published and ready for testing.

The only thing different from newlisp's "make install" is copying newlispdoc into /usr/bin - Lutz, what do you think about this?
WBR, Dmi

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Thanks very much Dmitry, I will try the packages tomorrow on UBUNTU 6.10, and perhaps Nigel can try on 6.06.

About newlispdoc: it will be part of the install in a future version. I still have to: (1) write a man page for it and (2) embed syntax.cgi in it as part of the program, they are small enough to combine them, (3) change the newLISPdoc.html documentation file (4) let the man page and newLISPdoc.html be reviewed/edited by somebody who speaks/writes English better than I do. I don't think I get to this until February 15th.

So we will not put it 9.1, but it will go into it in a a later version.

Lutz

nigelbrown
Posts: 429
Joined: Tue Nov 11, 2003 2:11 am
Location: Brisbane, Australia

Post by nigelbrown »

1.Binary from dmi site - deb for etch 9.0.20 won't install on 6.06 using gdebi due to "Error: Dependency is not satisfiable: libc6". libc6 2.3.6 is installed according to Synaptic Package Manager
Dmi's deb has in control:
Package: newlisp
Version: 9.0.20
Section: optional
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.3.6-6), libncurses5 (>= 5.4-5), libreadline5 (>= 5.2)
Suggests: wish
Installed-Size: 1640
Maintainer: Dmitry Chernyak <losthost>
Description: newLISP is a LISP like, general purpose scripting language
newLISP is a scripting language for developing web applications and
programs in general and in the domains of artificial intelligence (AI)
and statistics.
Mine has:
Package: newlisp
Version: 9.0.20
Section: optional
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.3.6-6), libncurses5 (>= 5.4-5), libreadline5 (>= 5.2)
Suggests: wish
Installed-Size: 1640
Maintainer: Dmitry Chernyak <losthost>
Description: newLISP is a LISP like, general purpose scripting language
newLISP is a scripting language for developing web applications and
programs in general and in the domains of artificial intelligence (AI)
and statistics.

so can't see the difference re libc6 - but newlisp viewed in synaptic says depend is libc6 >=2.3.4-1?
See my built 6.06 deb at http://users.cyberone.com.au/nbrown/new ... 0_i386.deb
. I redownloaded Dmi's and got same error.

2.Build from source builds on 6.06 (see below), installs with gdebi without complaint, and runs:
nigel@nigel-ubuntu:~/newlisp-9.0.20$ newlisp
newLISP v.9.0.20 on Linux, execute 'newlisp -h' for more info.

> (exit)
nigel@nigel-ubuntu:~/newlisp-9.0.20$ newlisp-tk
(newlisp-tk comes up fine and can launch manual and tk manual)

Nigel


build:
nigel@nigel-ubuntu:~/newlisp-9.0.20$ fakeroot dpkg-buildpackage dpkg-buildpackage: source package is newlisp
dpkg-buildpackage: source version is 9.0.20
dpkg-buildpackage: source changed by Dmitry Chernyak <dmi>
dpkg-buildpackage: host architecture i386
debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/home/nigel/newlisp-9.0.20'
rm *~ *.bak *.o *.obj *.map core *.tgz TEST
rm: cannot remove `*~': No such file or directory
rm: cannot remove `*.bak': No such file or directory
rm: cannot remove `*.o': No such file or directory
rm: cannot remove `*.obj': No such file or directory
rm: cannot remove `*.map': No such file or directory
rm: cannot remove `core': No such file or directory
rm: cannot remove `*.tgz': No such file or directory
rm: cannot remove `TEST': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm newlisp-tk/*~ doc/*~ util/*~ examples/*~ modules/*~
rm: cannot remove `newlisp-tk/*~': No such file or directory
rm: cannot remove `doc/*~': No such file or directory
rm: cannot remove `util/*~': No such file or directory
rm: cannot remove `examples/*~': No such file or directory
rm: cannot remove `modules/*~': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm newlisp-tk/*.bak doc/*.bak util/*.bak examples/*.bak modules/*.bak
rm: cannot remove `newlisp-tk/*.bak': No such file or directory
rm: cannot remove `doc/*.bak': No such file or directory
rm: cannot remove `util/*.bak': No such file or directory
rm: cannot remove `examples/*.bak': No such file or directory
rm: cannot remove `modules/*.bak': No such file or directory
make[1]: [clean] Error 1 (ignored)
chmod 644 *.h *.c *.lsp Makefile makefile*
chmod: cannot access `*.lsp': No such file or directory
make[1]: [clean] Error 1 (ignored)
chmod 755 build configure examples/*
chmod 644 doc/* modules/*.lsp examples/*.lsp examples/*.html
chmod 644 newlisp-tk/*
chmod 755 newlisp-tk/*.bat newlisp-tk/*.tcl
chmod 755 newlisp-tk/images
chmod 644 newlisp-tk/images/*
make[1]: Leaving directory `/home/nigel/newlisp-9.0.20'
rm newlisp
rm: cannot remove `newlisp': No such file or directory
make: [clean] Error 1 (ignored)
dh_clean
dpkg-source -b newlisp-9.0.20
dpkg-source: building newlisp in newlisp_9.0.20.tar.gz
dpkg-source: building newlisp in newlisp_9.0.20.dsc
debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make linux_debian
make[1]: Entering directory `/home/nigel/newlisp-9.0.20'
make -f makefile_debian
make[2]: Entering directory `/home/nigel/newlisp-9.0.20'
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX newlisp.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-symbol.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-math.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-list.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-liststr.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-string.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-filesys.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-sock.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-import.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-xml.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-web.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-matrix.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-debug.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX pcre.c
gcc newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o -g -lm -ldl -lreadline -lncurses -o newlisp
strip newlisp
make[2]: Leaving directory `/home/nigel/newlisp-9.0.20'
make[1]: Leaving directory `/home/nigel/newlisp-9.0.20'
#docbook-to-man debian/newlisp.sgml > newlisp.1
touch build-stamp
debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/newlisp.
/usr/bin/awk -f debian/makedocs Makefile >debian/docs
/usr/bin/make install DESTDIR=/home/nigel/newlisp-9.0.20/debian/newlisp
make[1]: Entering directory `/home/nigel/newlisp-9.0.20'
install -d /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp
install -d /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/newlisp-tk/images
install -m 755 newlisp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/bin/newlispinstall -m 755 newlisp-tk/newlisp-tk.tcl /home/nigel/newlisp-9.0.20/debian/newlisp/usr/bin/newlisp-tk
install -m 644 init.lsp.example /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/init.lsp.example
install -m 644 examples/httpd-conf.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/httpd-conf.lsp
install -m 644 examples/link.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/link.lsp
install -m 644 examples/tcltk.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/tcltk.lsp
install -m 755 examples/syntax.cgi /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/syntax.cgi
install -m 755 examples/newlispdoc /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/newlispdoc
install -m 644 modules/mysql.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/mysql.lsp
install -m 644 modules/mysql5.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/mysql5.lsp
install -m 644 modules/pop3.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/pop3.lsp
install -m 644 modules/ftp.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/ftp.lsp
install -m 644 modules/infix.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/infix.lsp
install -m 644 modules/smtp.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/smtp.lsp
install -m 644 modules/odbc.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/odbc.lsp
install -m 644 modules/cgi.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/cgi.lsp
install -m 644 modules/sqlite3.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/sqlite3.lsp
install -m 644 modules/stat.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/stat.lsp
install -m 644 modules/gmp.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/gmp.lsp
install -m 644 modules/postscript.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/postscript.lsp
install -m 644 modules/unix.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/unix.lsp
install -m 644 modules/zlib.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/zlib.lsp
install -m 644 doc/COPYING /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp/COPYING
install -m 644 doc/CREDITS /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp/CREDITS
install -m 644 doc/newlisp_manual.html /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp/newlisp_manual.html
install -m 644 doc/newlisp_index.html /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp/newlisp_index.html
install -m 644 doc/manual_frame.html /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp/manual_frame.html
install -m 644 doc/CodePatterns.html /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp/CodePatterns.html
install -m 644 doc/newLISPdoc.html /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp/newLISPdoc.html
install -m 644 doc/newLISP-9.1-Release.html /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp/newLISP-9.1-Release.html
install -m 644 newlisp-tk/newlisp-tk.html /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/doc/newlisp/newlisp-tk.html
install -m 644 newlisp-tk/*.lsp /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/newlisp-tk/
install -m 644 newlisp-tk/images/* /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/newlisp/newlisp-tk/images/
install -m 644 doc/newlisp.1 /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/man/man1/newlisp.1
install -m 644 doc/newlisp-tk.1 /home/nigel/newlisp-9.0.20/debian/newlisp/usr/share/man/man1/newlisp-tk.1
make[1]: Leaving directory `/home/nigel/newlisp-9.0.20'
cp examples/newlispdoc /home/nigel/newlisp-9.0.20/debian/newlisp/usr/bin
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `newlisp' in `../newlisp_9.0.20_i386.deb'.
dpkg-genchanges
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload; Debian-native package (full source is included)
nigel@nigel-ubuntu:~/newlisp-9.0.20$

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Following Dmitry's request newlispdoc will be part of packaged distributions starting newLISP version 9.1.

Syntax highlighting is now integrated into newlispdoc, so only newlispdoc needs to be installed in /usr/bin/newlispdoc. syntax.cgi is still in the source distribution to be installed in web sites for syntax highlighting, but needs not to be present in a normal binary install of newLISP.

The main newLISPdoc documentation has been changed to reflect this and there is also a man page. Comments, corrections and improvements to the text are greatly appreciated.

http://newlisp.org/newlispdoc-man-page.txt
http://newlisp.org/newLISPdoc.html


Lutz

ps: so far I have only tested the new newlispdoc on Mac OS X and FreeBSD

also: I have not had a chance yet to try Dmitry's or Nigel's Debian package, but assume that result will be similar on UBUNTO 6.10 as on UBUNTU 6.06. It seems that the package must be done on UBUNTU if submitted to UBUNTU because of the libc issues reported by Nigel.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

I finally tried out the debian packages from Dmitry and Nigel (made with Dmitry's script).

Both packages install and run fin on UBUNTU 6.10, allthoug an error message appears for libreadline, everyting installs fine and runs:

Code: Select all

/Desktop> sudo dpkg -i newlisp_9.0.20_i386.deb
Selecting previously deselected package newlisp.
(Reading database ... 92590 files and directories currently installed.)
Unpacking newlisp (from newlisp_9.0.20_i386.deb) ...
dpkg: dependency problems prevent configuration of newlisp:
newlisp depends on libreadline5 (>= 5.2); however:
 Version of libreadline5 on system is 5.1-7build1.
dpkg: error processing newlisp (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
newlisp

/usr/share/newlisp> ls
cgi.lsp httpd-conf.lsp link.lsp newlispdoc pop3.lsp sqlite3.lsp tcltk.lsp
ftp.lsp infix.lsp mysql5.lsp newlisp-tk postscript.lsp stat.lsp unix.lsp
gmp.lsp init.lsp.example mysql.lsp odbc.lsp smtp.lsp syntax.cgi zlib.lsp

/usr/share/newlisp> cd /usr/share/doc/newlisp
/usr/share/doc/newlisp> ls
changelog.gz copyright newLISP-9.1-Release.html newlisp_manual.html
CodePatterns.html CREDITS.gz newLISPdoc.html newlisp-tk.html
COPYING.gz manual_frame.html newlisp_index.html
/usr/share/doc/newlisp> 
I also tried making a package with checkinstall of tomorrows newLISP 9.1 version., and it also made a fine package, but with the files CREDITS and COPYING in unzipped state, which I like more. Can this be done on Dmitry's script too?

As mentioned in my previous post 9.1. will also contain /usr/bin/newlispdoc.

Lutz

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

Lutz wrote:I finally tried out the debian packages from Dmitry and Nigel (made with Dmitry's script).

Both packages install and run fin on UBUNTU 6.10, allthoug an error message appears for libreadline, everyting installs fine and runs:

Code: Select all

dpkg: dependency problems prevent configuration of newlisp:
newlisp depends on libreadline5 (>= 5.2); however:
 Version of libreadline5 on system is 5.1-7build1.
The only way to avoid this, which I know at present - is to rebuild from source on the system of your choice.
Lutz wrote:I also tried making a package with checkinstall of tomorrows newLISP 9.1 version., and it also made a fine package, but with the files CREDITS and COPYING in unzipped state, which I like more. Can this be done on Dmitry's script too?
Compression is made by dh_compress according to common Debian policy.
Fixed as you request. I think this isn't really conflict with policy.
WBR, Dmi

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Thanks Dmitry, I will release version 9.1 tonight and there will also be packages for UBUNTU. They install and run without any messages on UBUNTU 6.06-Dapper and 6.10-Etchy and with readline support.

You could offer Debian packages on your site which install/run on original Debian. If the gz-form is required for Debian then of course it must stay, if it does not violate their policy then rather the unzipped versions, but you decide.

Lutz

Locked