Re: Build S-Lang Fail

2010-09-05 Thread Csaba Raduly
On Sun, Sep 5, 2010 at 2:08 AM, Dave Korn  wrote:
 On 02/09/2010 03:20, Steven Woody wrote:

 Opps, I then tried with Dependency Walker on cc-1.exe, it prompted a warning:
 Warning: At least one module has an unresolved import due to a
 missing export function in a delay-load dependent module.

  Can't reproduce that back here.

Almost any Windows program will have this warning if it links shell32.dll

shell32.dll - shdocvw.dll - mshtml.dll - ieframe.dll - urlmon.dll
- some unnamed function in shlwapi.dll
also, shlwapi.dll - mpr.dll

-- 
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-09-04 Thread David Sastre
On Thu, Sep 02, 2010 at 10:20:11AM +0800, Steven Woody wrote:
 On 2 September 2010 10:12, Steven Woody wrote:
  On 25 August 2010 20:58, Csaba Raduly wrote:
  On Sun, Aug 22, 2010 at 8:15 PM, Steven Woody  wrote:
 
  $ ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
         ntdll.dll = /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c92)
         kernel32.dll = /cygdrive/c/WINDOWS/system32/kernel32.dll 
  (0x7c80)
         cyggcc_s-1.dll = /usr/bin/cyggcc_s-1.dll (0x67f0)
         cygwin1.dll = /usr/bin/cygwin1.dll (0x6100)
         ADVAPI32.DLL = /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL 
  (0x77da)
         RPCRT4.dll = /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e5)
         Secur32.dll = /cygdrive/c/WINDOWS/system32/Secur32.dll 
  (0x77fc)
         cyggmp-3.dll = /usr/bin/cyggmp-3.dll (0x63f4)
         cygmpfr-1.dll = /usr/bin/cygmpfr-1.dll (0x6cd8)
 
 
  You could either run ldd on the DLLs (cyggcc_s-1.dll, cyggmp-3.dll and
  cygmpfr-1.dll) or use depends.exe (http://www.dependencywalker.com/)
  to try to identify the missing DLL.
 
 
  I tried on these dll that you mentioned, but still not find anything missed 
  :(
 
 
 Opps, I then tried with Dependency Walker on cc-1.exe, it prompted a warning:
 Warning: At least one module has an unresolved import due to a
 missing export function in a delay-load dependent module.
 
 But I seems don't give me further information about what is the module
 that cause the problem.   Can you help, thanks!

I built slang a while back because I wanted to use the most pager, and
it was a dependency. I have attached the *.cygport and *.cygwin.patch
files I used to build them, so cygport won't complain about missing
files when packaging (this step is not mandatory for building the
binaries, but I used them for housekeeping, and the might come in
handy?). I have included onig as well. I gave them a try in a win7 box 
today, and they build OK. 
Make sure you build and install onig first, then slang, and finally most 
(in case you want to use it). Use cygport, of course.

Please note this packages are not in the distro, so use them at your 
own risk.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB
HOMEPAGE=http://www.geocities.jp/kosako3/oniguruma/;
SRC_URI=http://www.geocities.jp/kosako3/oniguruma/archive/onig-5.9.2.tar.gz;
DESCRIPTION=Oniguruma is a regular expressions library
PKG_NAMES=onig libonig2 libonig2-devel
PKG_HINTS=setup runtime devel
libonig2_CONTENTS=usr/lib/
libonig2_devel_CONTENTS=usr/bin/ usr/include/ usr/share/doc/
--- origsrc/onig-5.9.2/CYGWIN-PATCHES/devel.hint	1970-01-01 01:00:00.0 +0100
+++ src/onig-5.9.2/CYGWIN-PATCHES/devel.hint	2010-05-19 12:14:21.046875000 +0200
@@ -0,0 +1,7 @@
+sdesc: regular expression library (development)
+ldesc: Oniguruma is a regular expressions library.
+The characteristics of this library is that different character encoding
+for every regular expression object can be specified.   
+(supported APIs: GNU regex, POSIX and Oniguruma native)
+category: Devel Libs
+requires: libonig2
--- origsrc/onig-5.9.2/CYGWIN-PATCHES/onig.README	1970-01-01 01:00:00.0 +0100
+++ src/onig-5.9.2/CYGWIN-PATCHES/onig.README	2010-05-19 12:14:21.06250 +0200
@@ -0,0 +1,63 @@
+onig-5.9.2-1
+--
+Oniguruma is a regular expressions library.
+The characteristics of this library is that different character encoding
+for every regular expression object can be specified.   
+(supported APIs: GNU regex, POSIX and Oniguruma native)
+
+Runtime requirements:
+  cygwin-1.7.5-1
+
+Build requirements:
+  binutils-2.20.51-2
+  cygport-0.9.84-1
+  cygwin-1.7.5-1
+  gawk-3.1.8-1
+  grep-2.5.4-2
+  sed-4.2.1-1
+
+Canonical homepage:
+  http://www.geocities.jp/kosako3/oniguruma/
+
+Canonical download:
+  http://www.geocities.jp/kosako3/oniguruma/archive/onig-5.9.2.tar.gz
+
+License:
+  libpng/zlib
+
+Language:
+  C
+
+
+
+Build instructions:
+  unpack onig-5.9.2-1-src.tar.bz2
+if you use setup to install this src package, it will be
+	 unpacked under /usr/src automatically
+  cd /usr/src
+  cygport onig-5.9.2-1.cygport all
+
+This will create:
+  /usr/src/onig-5.9.2-1-src.tar.bz2
+  /usr/src/onig-5.9.2-1.tar.bz2
+  /usr/src/libonig2-5.9.2-1.tar.bz2
+  /usr/src/libonig2-devel-5.9.2-1.tar.bz2
+
+Or use 'cygport onig-5.9.2-1.cygport 

Re: Build S-Lang Fail

2010-09-04 Thread Dave Korn
On 02/09/2010 03:20, Steven Woody wrote:

 Opps, I then tried with Dependency Walker on cc-1.exe, it prompted a warning:
 Warning: At least one module has an unresolved import due to a
 missing export function in a delay-load dependent module.

  Can't reproduce that back here.

 But I seems don't give me further information about what is the module
 that cause the problem.   Can you help, thanks!

  The DLL causing the problem should be highlighted in red in the lower part
of the display where there's a list of modules.  It ought to be highlighted in
the tree-view display of dll dependencies as well, I think.

cheers,
  DaveK


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-09-01 Thread Steven Woody
On 25 August 2010 20:58, Csaba Raduly rcs...@gmail.com wrote:
 On Sun, Aug 22, 2010 at 8:15 PM, Steven Woody  wrote:

 $ ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
        ntdll.dll = /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c92)
        kernel32.dll = /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80)
        cyggcc_s-1.dll = /usr/bin/cyggcc_s-1.dll (0x67f0)
        cygwin1.dll = /usr/bin/cygwin1.dll (0x6100)
        ADVAPI32.DLL = /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da)
        RPCRT4.dll = /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e5)
        Secur32.dll = /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc)
        cyggmp-3.dll = /usr/bin/cyggmp-3.dll (0x63f4)
        cygmpfr-1.dll = /usr/bin/cygmpfr-1.dll (0x6cd8)


 You could either run ldd on the DLLs (cyggcc_s-1.dll, cyggmp-3.dll and
 cygmpfr-1.dll) or use depends.exe (http://www.dependencywalker.com/)
 to try to identify the missing DLL.


I tried on these dll that you mentioned, but still not find anything missed :(


 --
 Life is complex, with real and imaginary parts.
 Ok, it boots. Which means it must be bug-free and perfect.  -- Linus 
 Torvalds
 People disagree with me. I just ignore them. -- Linus Torvalds

 --
 Problem reports:       http://cygwin.com/problems.html
 FAQ:                   http://cygwin.com/faq/
 Documentation:         http://cygwin.com/docs.html
 Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple





-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-09-01 Thread Steven Woody
On 2 September 2010 10:12, Steven Woody narkewo...@gmail.com wrote:
 On 25 August 2010 20:58, Csaba Raduly rcs...@gmail.com wrote:
 On Sun, Aug 22, 2010 at 8:15 PM, Steven Woody  wrote:

 $ ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
        ntdll.dll = /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c92)
        kernel32.dll = /cygdrive/c/WINDOWS/system32/kernel32.dll 
 (0x7c80)
        cyggcc_s-1.dll = /usr/bin/cyggcc_s-1.dll (0x67f0)
        cygwin1.dll = /usr/bin/cygwin1.dll (0x6100)
        ADVAPI32.DLL = /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL 
 (0x77da)
        RPCRT4.dll = /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e5)
        Secur32.dll = /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc)
        cyggmp-3.dll = /usr/bin/cyggmp-3.dll (0x63f4)
        cygmpfr-1.dll = /usr/bin/cygmpfr-1.dll (0x6cd8)


 You could either run ldd on the DLLs (cyggcc_s-1.dll, cyggmp-3.dll and
 cygmpfr-1.dll) or use depends.exe (http://www.dependencywalker.com/)
 to try to identify the missing DLL.


 I tried on these dll that you mentioned, but still not find anything missed :(


Opps, I then tried with Dependency Walker on cc-1.exe, it prompted a warning:
Warning: At least one module has an unresolved import due to a
missing export function in a delay-load dependent module.

But I seems don't give me further information about what is the module
that cause the problem.   Can you help, thanks!

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-08-26 Thread Csaba Raduly
On Wed, Aug 25, 2010 at 6:32 PM, Larry Hall (Cygwin) wrote:
 On 8/25/2010 8:58 AM, Csaba Raduly wrote:
 You could either run ldd on the DLLs (cyggcc_s-1.dll, cyggmp-3.dll and
 cygmpfr-1.dll) or use depends.exe (http://www.dependencywalker.com/)
 to try to identify the missing DLL.

 'cygcheck' is also an option as well.


Or maybe all this is a false alarm:

http://www.cygwin.com/ml/cygwin/2010-08/msg00707.html

-- 
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-08-25 Thread Csaba Raduly
On Sun, Aug 22, 2010 at 8:15 PM, Steven Woody  wrote:

 $ ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
        ntdll.dll = /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c92)
        kernel32.dll = /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80)
        cyggcc_s-1.dll = /usr/bin/cyggcc_s-1.dll (0x67f0)
        cygwin1.dll = /usr/bin/cygwin1.dll (0x6100)
        ADVAPI32.DLL = /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da)
        RPCRT4.dll = /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e5)
        Secur32.dll = /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc)
        cyggmp-3.dll = /usr/bin/cyggmp-3.dll (0x63f4)
        cygmpfr-1.dll = /usr/bin/cygmpfr-1.dll (0x6cd8)


You could either run ldd on the DLLs (cyggcc_s-1.dll, cyggmp-3.dll and
cygmpfr-1.dll) or use depends.exe (http://www.dependencywalker.com/)
to try to identify the missing DLL.


-- 
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-08-25 Thread Larry Hall (Cygwin)

On 8/25/2010 8:58 AM, Csaba Raduly wrote:

On Sun, Aug 22, 2010 at 8:15 PM, Steven Woody  wrote:


$ ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
ntdll.dll =  /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c92)
kernel32.dll =  /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80)
cyggcc_s-1.dll =  /usr/bin/cyggcc_s-1.dll (0x67f0)
cygwin1.dll =  /usr/bin/cygwin1.dll (0x6100)
ADVAPI32.DLL =  /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da)
RPCRT4.dll =  /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e5)
Secur32.dll =  /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc)
cyggmp-3.dll =  /usr/bin/cyggmp-3.dll (0x63f4)
cygmpfr-1.dll =  /usr/bin/cygmpfr-1.dll (0x6cd8)



You could either run ldd on the DLLs (cyggcc_s-1.dll, cyggmp-3.dll and
cygmpfr-1.dll) or use depends.exe (http://www.dependencywalker.com/)
to try to identify the missing DLL.


'cygcheck' is also an option as well.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-08-22 Thread Csaba Raduly
On Sat, Aug 21, 2010 at 12:48 PM, Steven Woody  wrote:
 Hi,

 I got following error when I was compiling s-lang for cygwin:

 cd /home/narke/src/slang-2.2.2/src/elfobjs; gcc -c -g -O2
 -DBUILD_DLL=1  -Dunix -DSLANG
 -DMISC_TERMINFO_DIRS='/usr/share/terminfo'
 /home/narke/src/slang-2.2.2/src/sltermin.c
 /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe: error while loading shared
 libraries: ?: cannot open shared object file: No such file or
 directory

Apparently, it can't find a shared library. What's the output of

ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe

-- 
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-08-22 Thread Steven Woody
On 22 August 2010 16:53, Csaba Raduly rcs...@gmail.com wrote:
 On Sat, Aug 21, 2010 at 12:48 PM, Steven Woody  wrote:
 Hi,

 I got following error when I was compiling s-lang for cygwin:

 cd /home/narke/src/slang-2.2.2/src/elfobjs; gcc -c -g -O2
 -DBUILD_DLL=1  -Dunix -DSLANG
 -DMISC_TERMINFO_DIRS='/usr/share/terminfo'
 /home/narke/src/slang-2.2.2/src/sltermin.c
 /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe: error while loading shared
 libraries: ?: cannot open shared object file: No such file or
 directory

 Apparently, it can't find a shared library. What's the output of

Thanks. The question is that what's the missing share library?


 ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe

$ ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
ntdll.dll = /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c92)
kernel32.dll = /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80)
cyggcc_s-1.dll = /usr/bin/cyggcc_s-1.dll (0x67f0)
cygwin1.dll = /usr/bin/cygwin1.dll (0x6100)
ADVAPI32.DLL = /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da)
RPCRT4.dll = /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e5)
Secur32.dll = /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc)
cyggmp-3.dll = /usr/bin/cyggmp-3.dll (0x63f4)
cygmpfr-1.dll = /usr/bin/cygmpfr-1.dll (0x6cd8)



 --
 Life is complex, with real and imaginary parts.
 Ok, it boots. Which means it must be bug-free and perfect.  -- Linus 
 Torvalds
 People disagree with me. I just ignore them. -- Linus Torvalds

 --
 Problem reports:       http://cygwin.com/problems.html
 FAQ:                   http://cygwin.com/faq/
 Documentation:         http://cygwin.com/docs.html
 Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple





-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Build S-Lang Fail

2010-08-21 Thread Steven Woody
Hi,

I got following error when I was compiling s-lang for cygwin:

cd /home/narke/src/slang-2.2.2/src/elfobjs; gcc -c -g -O2
-DBUILD_DLL=1  -Dunix -DSLANG
-DMISC_TERMINFO_DIRS='/usr/share/terminfo'
/home/narke/src/slang-2.2.2/src/sltermin.c
/usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe: error while loading shared
libraries: ?: cannot open shared object file: No such file or
directory

What's wrong with it? Thanks.

-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple