This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] links-0.99pre14 [Was: Re: Please update links, mod_php4,mod_ssl, wget (was: [ [OpenSSL Advisory] Denial of Servicein ASN.1 parsing])]

Harold, the following is what I did to get new Links and Links
2 to compile and work properly on Cygwin.


-#elif defined(_WIN32) || defined (__CYGWIN__)
+#elif defined(_WIN32)

But then you get the following at link time:

win32.o(.text+0x260): In function `terminate_osdep':
/d/Linux/links-2.1pre14/win32.c:151: multiple definition of `_terminate_osdep'
os_dep.o(.text+0x460):/d/Linux/links-2.1pre14/os_dep.c:759: first defined here
collect2: ld returned 1 exit status

So, I commented the one from win32.c.

With your binary, if you press Esc and go to File, select 'New
window' or 'OS Shell', you also get

sh: line 1: C:\WINDOWS\system32\cmd.exe: command not found.

With the above change everything works, including it. I get a
sh-2.05b$ for 'OS Shell'.

Maybe 'New window' is still somewhat broken since it now
assumes a Unix environment, and only works if you run it from
XTerm. From cmd.exe it does nothing (the menu is gone), and
from rxvt it opens an XTerm if XFree86 is running, or displays
an error (xterm Xt error: Can't open display: :0.) if not.
Anyway, it's the same with the 0.96 binary included in Cygwin.

But I propose Links 2 if you want graphics and minimal
JavaScript support. Then make 2 binaries as Daniel suggested:

1- --enable-javascript --with-libfl --enable-graphics

2- --enable-javascript --with-libfl --with-ssl

Or get ELinks 0.4.2 or 0.4.3pre2 if you don't. It has more
features than Links 0.99. Use:

1- --enable-leds --enable-fastmem --enable-256-colors

--without-x avoids linking with libX11. The option only adds a
window title.

Links 0.99 are maintenance release. You won't see many new
features like in Links 2 and ELinks.

That's all.

How to contact me -

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]