* Problems Compiling unzip 5.41 UNIX Version
@ 2000-05-26 8:09 Jason Tishler
2000-05-26 12:42 ` Jason Tishler
0 siblings, 1 reply; 2+ messages in thread
From: Jason Tishler @ 2000-05-26 8:09 UTC (permalink / raw)
To: Cygwin
Although it was easy to compile the zip 2.3 UNIX version with the
Cygwin gcc compiler, unzip 5.41 is another story. Using the gcc target
in unix/Makefile I get the following:
$ make -f unix/Makefile gcc
make unzips CC=gcc LD=gcc CF="-O3 -I." LF2=""
...
gcc -c -O3 -I. unix/unix.c
unix/unix.c:66: sys/dir.h: No such file or directory
Since sys/dir.h does not exist under Cygwin and by reading unix/unix.c
it seemed to make sense to define DIRENT. So, I tried the following:
$ make -f unix/Makefile LOCAL_UNZIP=-DDIRENT gcc
make unzips CC=gcc LD=gcc CF="-O3 -I. -DDIRENT" LF2=""
...
gcc -c -O3 -I. -DDIRENT unix/unix.c
unix/unix.c: In function `checkdir':
unix/unix.c:625: structure has no member named `end'
...
unix/unix.c:638: structure has no member named `buildpath'
...
If those of you who have successfully compiled the unzip 5.41 UNIX
version could help me out, I'd really appreciate it.
BTW, the zip 2.3 UNIX version *does* handle symlinks properly. If I
can get a working unzip 5.41 UNIX version ... sigh.
Thanks,
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problems Compiling unzip 5.41 UNIX Version
2000-05-26 8:09 Problems Compiling unzip 5.41 UNIX Version Jason Tishler
@ 2000-05-26 12:42 ` Jason Tishler
0 siblings, 0 replies; 2+ messages in thread
From: Jason Tishler @ 2000-05-26 12:42 UTC (permalink / raw)
To: Cygwin
Chris Faylor wrote:
> It sounds like the zip developers may have gone out of their way to make
> it even more difficult from the sound of things.
I'm sorry but I have to agree with the above...
Anyway, I was able to build unzip 5.41, without modifying the source,
using the following command:
$ make -f unix/Makefile LOCAL_UNZIP='-DDIRENT -DHAVE_MKTIME \
-DHAVE_TERMIOS_H -DUNIX -U_WIN32 -U__WINNT__ -U__WINNT \
-UWINNT' E=.exe gcc
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-05-26 12:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-26 8:09 Problems Compiling unzip 5.41 UNIX Version Jason Tishler
2000-05-26 12:42 ` Jason Tishler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).