Re: broken libguile.la file (libguile12-1.6.7-1)

2005-06-10 Thread Gerrit P. Haase

Brian Dessent wrote:


I was trying to build autogen when I got to this:

/bin/bash ../libtool --tag=CC --mode=link ccache gcc 
-Wl,-no-undefined   -o autogen.exe -export-dynamic  autogen-ag.o
.../autoopts/libopts.la -lguile -lguile-ltdl -lcrypt -lm -lm 
libtool: link: cannot find the library

`/home/mingw/cygwin/root/usr/lib/libguile-ltdl.la'

This apparently comes from the following in /usr/lib/libguile.la:

# Libraries that this one depends upon.
dependency_libs=' /home/mingw/cygwin/root/usr/lib/libguile-ltdl.la
-lcrypt'

After changing that to /usr/bin/libguile-ltdl.la, I got this:

/bin/bash ../libtool --tag=CC --mode=link ccache gcc 
-Wl,-no-undefined   -o autogen.exe -export-dynamic  autogen-ag.o
.../autoopts/libopts.la -lguile -lguile-ltdl -lcrypt -lm -lm 
ccache gcc -Wl,-no-undefined -o autogen.exe autogen-ag.o

-Wl,--export-dynamic  ../autoopts/.libs/libopts.a
/usr/lib/cygguile.dll.a /usr/lib/libguile-ltdl.dll.a -lcrypt
gcc: /usr/lib/cygguile.dll.a: No such file or directory

So I changed the 'library_names' line to 'libguile.dll.a' instead of
'cygguile.dll.a', and the link worked.  I'm really not totally fluent in
libtool but it does seem to me that these are guile packaging problems
and not the fault of autogen, no?


dependency_libs should refer to .la files which are usually installed
besides the import libraries in /usr/lib.  Relative to this location
are the other defininitions:

Static archive:
old_library='libiconv.a'

Import library:
library_names='libiconv.dll.a'

Shared library in /usr/bin:
dlname='../bin/cygiconv-2.dll'


Gerrit
--
=^..^=


Re: Catgets ready for upload

2005-06-10 Thread Corinna Vinschen
On Jun  9 22:30, Bryan Henderson wrote:
 curl: (19) catgets-1.0-1.tar.bz2: No such file or directory.
 ...
 
 Sorry, I got some dots and dashes mixed up.  They work now.  I tried them.
 
ftp://giraffe-data.com/pub/catgets/setup.hint
ftp://giraffe-data.com/pub/catgets/catgets-1.0-1.tar.bz2
ftp://giraffe-data.com/pub/catgets/catgets-1.0-1-src.tar.bz2
 
 make that libintl3 and libiconv2 
 
 Ah, I see.  Fixed.

Uploaded.  Please send an announcement to the cygwin-announce list
(not to the cygwin list!).  Just use one of the latest message to
cygwin-announce as template.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.


Please upload xmon-1.5.6-1 (new package)

2005-06-10 Thread Harold L Hunt II
I packaged the xmon program today (and used it extensively, so I know it 
works) for Cygwin.


Homepage

http://www.x.org/contrib/devel_tools/

Description
===
http://www.x.org/contrib/devel_tools/xmon.1.5.6.README

Xmon interactively monitors the byte-stream connections between an X
server and a number of X clients.  Xmon recognizes all requests,
events, errors and replies sent between the clients and the server
which are part of the core X protocol.  The contents of these messages
are displayed on standard output at a user settable degree of detail
from none to every bit and byte.  Xmon also allows the user to select
a number of requests or events to be monitored at a different degree
of detail.  Xmon will also block the transmission of selected requests
from the clients to the server and selected events from the server to
the clients.  Xmon also keeps statistics of the number of requests,
events, and errors received.

Porting
===
1) The usual Imakefile stuff (two lines).

2) Two #define changes to make sure we call fcntl(*, FD_CLOEXEC) instead 
of ioctl(*, FIOCLEX, *), since FIOCLEX didn't seem to be available for 
ioctl (didn't check any further since I knew that FD_CLOEXEC was 
available and the code was already written for it.


In summary, very straight-forward port and package.


http://homer.starnet.com/~hunth/cygwin/release/X11/xmon/setup.hint
7ab56809ff065a5e46693f49a1099f84

http://homer.starnet.com/~hunth/cygwin/release/X11/xmon/xmon-1.5.6-1.tar.bz2
3664fa042a698104a9170cecb12cb8e5

http://homer.starnet.com/~hunth/cygwin/release/X11/xmon/xmon-1.5.6-1-src.tar.bz2
21998fb605d755857e7211b1febd4b99



Harold


RE: broken libguile.la file (libguile12-1.6.7-1)

2005-06-10 Thread Dave Korn
Original Message
From: Brian Dessent
Sent: 10 June 2005 01:20

 I was trying to build autogen 


  Ouch.  

cheers,
  DaveK
-- 
Can't think of a witty .sigline today



Re: broken libguile.la file (libguile12-1.6.7-1)

2005-06-10 Thread Corinna Vinschen
On Jun 10 10:28, Dave Korn wrote:
 From: Brian Dessent
  I was trying to build autogen 
 
   Ouch.  

And this reply serves what purpose exaclty?

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.


RE: broken libguile.la file (libguile12-1.6.7-1)

2005-06-10 Thread Dave Korn
Original Message
From: Corinna Vinschen
Sent: 10 June 2005 10:47

 On Jun 10 10:28, Dave Korn wrote:
 From: Brian Dessent
 I was trying to build autogen
 
   Ouch.
 
 And this reply serves what purpose exaclty?
 
 Corinna


  An expression of sympathy, nothing else!  I know how he feels, because
that was the exact same point where I gave up after an all-night struggle.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today



Re: broken libguile.la file (libguile12-1.6.7-1)

2005-06-10 Thread Brian Dessent
Dave Korn wrote:

   An expression of sympathy, nothing else!  I know how he feels, because
 that was the exact same point where I gave up after an all-night struggle.

Actually, after fixing those two problems with libguile.la, autogen
compiles (almost) out of the box with 'LDFLAGS=-Wl,-no-undefined
./configure  make'.  It fails 5 of 19 tests of its testsuite though. 
I didn't really care about that, as it works well enough for the gcc
fixincludes testsuite.  (And yes, I know that I can just do make -k
check for that and not require autogen at all.)

Brian


Re: Please upload xmon-1.5.6-1 (new package)

2005-06-10 Thread Christopher Faylor
On Fri, Jun 10, 2005 at 02:14:16AM -0700, Harold L Hunt II wrote:
I packaged the xmon program today (and used it extensively, so I know it 
works) for Cygwin.

I took the liberty of checking Debian and see that this is a standard
package there, so there is no need to vote on this.

But, where's the setup.hint file?

cgf


Re: Please upload xmon-1.5.6-1 (new package)

2005-06-10 Thread Harold L Hunt II

Christopher Faylor wrote:

On Fri, Jun 10, 2005 at 02:14:16AM -0700, Harold L Hunt II wrote:

I packaged the xmon program today (and used it extensively, so I know it 
works) for Cygwin.



I took the liberty of checking Debian and see that this is a standard
package there, so there is no need to vote on this.


Thanks, I wasn't sure what the current rules were.  Glad it was in Debian.


But, where's the setup.hint file?


Uhh... I hope I'm not misunderstanding the question... but, in the 
original email?!?




http://homer.starnet.com/~hunth/cygwin/release/X11/xmon/setup.hint
7ab56809ff065a5e46693f49a1099f84 




Harold


Re: Please upload xmon-1.5.6-1 (new package)

2005-06-10 Thread Christopher Faylor
On Fri, Jun 10, 2005 at 10:38:36AM -0700, Harold L Hunt II wrote:
Christopher Faylor wrote:
On Fri, Jun 10, 2005 at 02:14:16AM -0700, Harold L Hunt II wrote:

I packaged the xmon program today (and used it extensively, so I know it 
works) for Cygwin.


I took the liberty of checking Debian and see that this is a standard
package there, so there is no need to vote on this.

Thanks, I wasn't sure what the current rules were.  Glad it was in Debian.

But, where's the setup.hint file?

Uhh... I hope I'm not misunderstanding the question... but, in the 
original email?!?


http://homer.starnet.com/~hunth/cygwin/release/X11/xmon/setup.hint
7ab56809ff065a5e46693f49a1099f84 

 From http://cygwin.com/setup.html

Submitting a package

So you've got a package you want to submit.  Follow the following
checklist before emailing cygwin-apps@cygwin.com and you'll almost
certainly save time.

1.  Propose on cygwin-apps that you are interested in becoming a
package maintainer for package foo.  Some packages cannot be
distributed via cygwin's setup due to vendor licence limitations.
Other packages may not be appropriate for cygwin.  This step will save
time if, for some reason we cannot accept the package.

2.  If this is a new package, *post a complete setup.hint file as part
of your proposal*.  Include this file in the text of your message so
that it can be commented on.  Do not submit it as an attachment.
.
.
.

cgf


Re: broken libguile.la file (libguile12-1.6.7-1)

2005-06-10 Thread Jan Nieuwenhuizen
Brian Dessent writes:

 # Libraries that this one depends upon.
 dependency_libs=' /home/mingw/cygwin/root/usr/lib/libguile-ltdl.la
 -lcrypt'

Ugh.  Apparently my after-libtool cleanup failed.

 So I changed the 'library_names' line to 'libguile.dll.a' instead of
 'cygguile.dll.a', and the link worked.  I'm really not totally fluent in
 libtool but it does seem to me that these are guile packaging problems
 and not the fault of autogen, no?

Yes, so it seems.  I'll try to add more sed fixup rules; thanks.

Jan.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org