Debian package standalone cint remarks

View: New views
5 Messages — Rating Filter:   Alert me  

Debian package standalone cint remarks

by Joost Kraaijeveld :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

In an attempt to create a Debian .deb package I noticed several
problems. Before I try to "improve" anything, I hope that this post will
get me some advise on how to actually improve it, as I have no
experience in creating Debian packages at all.

1. "./configure --coreversion=new ; make deb" creates a cint_7.3.00-1
package that actually contains cint 5.17.00 ( I used a checkout of svn
trunk) and it does not contain the reflex library

2. the included cint-config contains (striped some things):

--incdir)  $pathconvert "/usr/include" ;;
--cflags)  $pathconvert "-I/usr/include -I/home/jkr/src/cint/reflex/inc" ;;
--libs)    $pathconvert "-L/usr/lib -lCint -lReflex" ;;

ad --incdir: the examples that depend on finding the cint includes there
will not work as the actual directory in /usr/include/cint, which seems
to be reasonable to me
ad -cflags: reflex is not included in the deb-package and the path for
the reflex include is just available on my local machine, which renders
the deb unusable for distribution
ad --libs: reflex is not included in the deb-package
ad --version: is correct for the actual inclused version but is not

3. it seems to be impossible to compile any of the libraries
in /usr/share/cin/cint/lib. All compilation attempts lead tot the
following error (commandline of cint included):
/usr/bin/cint  -K -w2 -zcintsock -nG__c_cintsock.c  -D__MAKECINT__
-DG__MAKECINT -DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
-DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
-DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO   -c-2
-I/usr/include  -DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
-DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
-DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO  -Z0
cintsock.h
#error "You need a ISO C conforming compiler to use the glibc headers"

Can anyone give me some advise/directions of how to get the package
properly compiled and installed for Debian (both cint and cint7),
additional libraries included? (All OOTB solutions are also very
welcome ;-))

TIA


--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



Re: Debian package standalone cint remarks

by David Bremner-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Joost Kraaijeveld wrote:

>Hi,

>In an attempt to create a Debian .deb package I noticed several
>problems. Before I try to "improve" anything, I hope that this post will
>get me some advise on how to actually improve it, as I have no
>experience in creating Debian packages at all.

You might find it helpful to look at the debian package I am using at

    http://pivot.cs.unb.ca/debian/pool/main/c/cint/cint_7.3.00~r30149-1.dsc



Re: Debian package standalone cint remarks

by Joost Kraaijeveld :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi David,

Thanks for the link. Your package has the same problems as the one I
build. Did you ever try to compile the socket library with the installed
version and did it work for you?


--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



Re: Debian package standalone cint remarks

by David Bremner-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joost Kraaijeveld wrote:

>Thanks for the link. Your package has the same problems as the one I
>build. Did you ever try to compile the socket library with the installed
>version and did it work for you?

No, I didn't try, sorry.  Did you build my packages via "make deb" or
using the usual Debian way (e.g. using debuild?). "make deb" will
overwrite the debian packaging I provide.

I know something about debian packaging, but less about cint.  These
are my rough draft packages for upload to Debian, so if something is
really not right, it would nice to fix it before uploading.

It would be great if you could follow up with whatever you figure out
to

   mailto:533858@...

or

   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533858

   


Re: Debian package standalone cint remarks

by David Bremner-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


If you try

    http://pivot.cs.unb.ca/debian/pool/main/c/cint/cint_7.3.00~r30149-2.dsc

it should at least build cint7 and libReflex.so now. You do have to use
dpkg-buildpackage (or debuild) to build it.

d