This is the mail archive of the cygwin 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: Build S-Lang Fail


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 (0x7c920000)
> >>> ? ? ? ?kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)
> >>> ? ? ? ?cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x67f00000)
> >>> ? ? ? ?cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
> >>> ? ? ? ?ADVAPI32.DLL => /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da0000)
> >>> ? ? ? ?RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e50000)
> >>> ? ? ? ?Secur32.dll => /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc0000)
> >>> ? ? ? ?cyggmp-3.dll => /usr/bin/cyggmp-3.dll (0x63f40000)
> >>> ? ? ? ?cygmpfr-1.dll => /usr/bin/cygmpfr-1.dll (0x6cd80000)
> >>>
> >>
> >> 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

Attachment: onig-5.9.2-1.cygport
Description: Text document

--- origsrc/onig-5.9.2/CYGWIN-PATCHES/devel.hint	1970-01-01 01:00:00.000000000 +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.000000000 +0100
+++ src/onig-5.9.2/CYGWIN-PATCHES/onig.README	2010-05-19 12:14:21.062500000 +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 prep' to get a patched source directory
+
+To find out the files included in the binary distribution, you can
+use "cygcheck -l libonig2-devel", "cygcheck -l libonig2", or browse the 
+listing for the appropriate version at <http://cygwin.com/packages/>.
+
+------------------
+
+Port Notes:
+
+----------  onig-5.9.2-1 -- Wed May 19 09:15:24 UTC 2010 -----------
+Initial release
+
+For more information about this package, see the upstream documentation in
+/usr/share/doc/onig-5.9.2-1.
+
+Cygwin port maintained by: David Sastre Mendia <d.sastre.medina@gmail.com>
+Please address all questions to the Cygwin mailing list at <cygwin@cygwin.com>
--- origsrc/onig-5.9.2/CYGWIN-PATCHES/runtime.hint	1970-01-01 01:00:00.000000000 +0100
+++ src/onig-5.9.2/CYGWIN-PATCHES/runtime.hint	2010-05-19 12:14:21.046875000 +0200
@@ -0,0 +1,6 @@
+sdesc: "regular expression library (runtime)"
+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
--- origsrc/onig-5.9.2/CYGWIN-PATCHES/setup.hint	1970-01-01 01:00:00.000000000 +0100
+++ src/onig-5.9.2/CYGWIN-PATCHES/setup.hint	2010-05-19 12:14:21.062500000 +0200
@@ -0,0 +1,6 @@
+sdesc: "regular expression library"
+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: Libs

Attachment: most-5.0.0a-1.cygport
Description: Text document

--- origsrc/most-5.0.0a/CYGWIN-PATCHES/most.README	1970-01-01 01:00:00.000000000 +0100
+++ src/most-5.0.0a/CYGWIN-PATCHES/most.README	2010-05-31 17:09:28.921875000 +0200
@@ -0,0 +1,69 @@
+most-5.0.0a-1
+------------------------------------------
+Pager program similar to more and less.
+Most is a paging program that displays, one windowful at a time, the
+contents of a file on a terminal. A status line at the bottom of the
+screen displays the file name, the current line number and the percentage
+of the file so far displayed.
+Unlike other paging programs, most is capable of displaying an
+arbitrary number of windows as long as they all fit on the screen, and
+different windows could be used to view the same file in different
+positions.
+In addition to displaying ordinary text files, most can also display
+binary files as well as files with arbitrary ascii characters.
+
+Runtime requirements:
+  cygwin-1.7.5-1
+  libgcc1-4.3.4-3
+  libslang2-2.2.2-1 
+
+Build requirements:
+  coreutils-8.5-1
+  cygwin-1.7.5-1
+  grep-2.5.4-2
+  libgcc1-4.3.4-3
+  libslang2-devel-2.2.2-1
+
+Canonical homepage:
+  http://www.jedsoft.org/most/
+
+Canonical download:
+  ftp://space.mit.edu/pub/davis/most/most-5.0.0a.tar.bz2
+
+License:
+  GPLv2
+
+Language:
+  C
+
+------------------------------------
+
+Build instructions:
+  unpack most-5.0.0a-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 most-5.0.0a-1.cygport all
+
+This will create:
+  /usr/src/most-5.0.0a-1.tar.bz2
+  /usr/src/most-5.0.0a-1-src.tar.bz2
+
+Or use 'cygport most-5.0.0a-1.cygport prep' to get a patched source directory
+
+To find out the files included in the binary distribution, you can
+use "cygcheck -l most", or browse the listing for the appropriate version
+at <http://cygwin.com/packages/>.
+
+------------------
+
+Port Notes:
+
+----------  most-5.0.0a-1 -- Mon May 31 14:07:10 UTC 2010 -----------
+Initial release
+
+For more information about this package, see the upstream documentation in
+/usr/share/doc/most
+
+Cygwin port maintained by: David Sastre Medina <d.sastre.medina@gmail.com>
+Please address all questions to the Cygwin mailing list at <cygwin@cygwin.com>
--- origsrc/most-5.0.0a/CYGWIN-PATCHES/setup.hint	1970-01-01 01:00:00.000000000 +0100
+++ src/most-5.0.0a/CYGWIN-PATCHES/setup.hint	2010-05-31 17:09:28.906250000 +0200
@@ -0,0 +1,13 @@
+sdesc: "Pager program similar to more and less"
+ldesc: "Most is a paging program that displays, one windowful at a time, the
+contents of a file on a terminal. A status line at the bottom of the
+screen displays the file name, the current line number and the percentage
+of the file so far displayed.
+Unlike other paging programs, most is capable of displaying an
+arbitrary number of windows as long as they all fit on the screen, and
+different windows could be used to view the same file in different
+positions.
+In addition to displaying ordinary text files, most can also display
+binary files as well as files with arbitrary ascii characters."
+category: Text Utils
+requires: libgcc1-4.3.4-3 libslang2 

Attachment: slang-2.2.2-1.cygport
Description: Text document

--- origsrc/slang-2.2.2/CYGWIN-PATCHES/devel.hint	1970-01-01 01:00:00.000000000 +0100
+++ src/slang-2.2.2/CYGWIN-PATCHES/devel.hint	2010-05-31 11:36:12.000000000 +0200
@@ -0,0 +1,9 @@
+sdesc: "multi-platform programmer's library (development)"
+ldesc: "S-Lang is designed to allow a developer to create 
+robust multi-platform software. It provides facilities required 
+by interactive applications such as display/screen management, 
+keyboard input, keymaps, and so on. The most exciting feature of 
+the library is the slang interpreter that may be easily embedded 
+into a program to make it extensible."
+category: Devel Libs
+requires: libiconv2 libpcre0 libreadline7 libslang2
--- origsrc/slang-2.2.2/CYGWIN-PATCHES/modules.hint	1970-01-01 01:00:00.000000000 +0100
+++ src/slang-2.2.2/CYGWIN-PATCHES/modules.hint	2010-05-31 11:36:12.000000000 +0200
@@ -0,0 +1,9 @@
+sdesc: "multi-platform programmer's library (modules)"
+ldesc: "S-Lang is designed to allow a developer to create 
+robust multi-platform software. It provides facilities required 
+by interactive applications such as display/screen management, 
+keyboard input, keymaps, and so on. The most exciting feature of 
+the library is the slang interpreter that may be easily embedded 
+into a program to make it extensible."
+category: Libs Interpreters
+requires: libiconv2 libpcre0 libreadline7 libslang2
--- origsrc/slang-2.2.2/CYGWIN-PATCHES/runtime.hint	1970-01-01 01:00:00.000000000 +0100
+++ src/slang-2.2.2/CYGWIN-PATCHES/runtime.hint	2010-05-31 11:36:12.015625000 +0200
@@ -0,0 +1,9 @@
+sdesc: "multi-platform programmer's library (runtime)"
+ldesc: "S-Lang is designed to allow a developer to create 
+robust multi-platform software. It provides facilities required 
+by interactive applications such as display/screen management, 
+keyboard input, keymaps, and so on. The most exciting feature of 
+the library is the slang interpreter that may be easily embedded 
+into a program to make it extensible."
+category: Libs 
+requires: libiconv2 libpcre0 libreadline7 
--- origsrc/slang-2.2.2/CYGWIN-PATCHES/setup.hint	1970-01-01 01:00:00.000000000 +0100
+++ src/slang-2.2.2/CYGWIN-PATCHES/setup.hint	2010-05-31 11:36:12.015625000 +0200
@@ -0,0 +1,10 @@
+sdesc: "multi-platform programmer's library"
+ldesc: "S-Lang is designed to allow a developer to create 
+robust multi-platform software. It provides facilities required 
+by interactive applications such as display/screen management, 
+keyboard input, keymaps, and so on. The most exciting feature of 
+the library is the slang interpreter that may be easily embedded 
+into a program to make it extensible."
+category: Devel Shells Interpreters Libs
+requires: libiconv2 libpcre0 libreadline7
+ 
--- origsrc/slang-2.2.2/CYGWIN-PATCHES/shell.hint	1970-01-01 01:00:00.000000000 +0100
+++ src/slang-2.2.2/CYGWIN-PATCHES/shell.hint	2010-05-31 11:36:12.031250000 +0200
@@ -0,0 +1,10 @@
+sdesc: "multi-platform programmer's library (shell)"
+ldesc: "S-Lang is designed to allow a developer to create 
+robust multi-platform software. It provides facilities required 
+by interactive applications such as display/screen management, 
+keyboard input, keymaps, and so on. The most exciting feature of 
+the library is the slang interpreter that may be easily embedded 
+into a program to make it extensible."
+category: Shells Interpreters
+requires: libiconv2 libpcre0 libreadline7 libslang2 
+libslang2-modules
--- origsrc/slang-2.2.2/CYGWIN-PATCHES/slang.README	1970-01-01 01:00:00.000000000 +0100
+++ src/slang-2.2.2/CYGWIN-PATCHES/slang.README	2010-05-31 11:36:12.125000000 +0200
@@ -0,0 +1,74 @@
+slang-2.2.2-1
+------------------------------------------
+S-Lang is a multi-platform programmer's library designed to allow a developer
+to create robust multi-platform software. It provides facilities required 
+by interactive applications such as display/screen management, keyboard input, 
+keymaps, and so on. The most exciting feature of the library is the slang 
+interpreter that may be easily embedded into a program to make it extensible.
+
+Runtime requirements:
+  cygwin-1.7.5-1
+  libgcc1-4.3.4-3
+  libiconv2-1.13.1-1
+  libpcre0-8.00-1
+  libreadline7-6.0.3-2
+
+Build requirements:
+  cygwin-1.7.5-1
+  cygport-0.9.84-1 
+  imake-1.0.2-2
+  libgcc1-4.3.4-3
+  libiconv2-1.13.1-1
+  libpcre0-8.00-1
+  libreadline7-6.0.3-2
+  libonig2-devel-5.9.2-1
+  libpng-1.2.35-10
+  pcre-8.00-1
+  zlib-1.2.3-10
+
+Canonical homepage:
+  http://www.s-lang.org/
+
+Canonical download:
+  ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.2.tar.bz2
+
+License:
+  GPLv2
+
+Language:
+  C
+
+------------------------------------
+
+Build instructions:
+  unpack slang-2.2.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 slang-2.2.2-1.cygport all
+
+This will create:
+  /usr/src/slang-2.2.2-1-src.tar.bz2
+  /usr/src/slang-2.2.2-1.tar.bz2
+  /usr/src/slsh-2.2.2-1.tar.bz2
+  /usr/src/libslang2-2.2.2-1.tar.bz2
+  /usr/src/libslang2-devel-2.2.2-1.tar.bz2
+
+Or use 'cygport slang-2.2.2-1.cygport prep' to get a patched source directory
+
+To find out the files included in the source distribution, you can
+browse the listing for the appropriate version at <http://cygwin.com/packages/>.
+
+------------------
+
+Port Notes:
+
+----------  slang-2.2.2-1 -- 28 May 2010 10:56:32 --------
+Initial release
+
+For more information about this package, see the upstream documentation in
+/usr/share/doc/slang
+/usr/share/doc/slsh
+
+Cygwin port maintained by: David Sastre Medina <d.sastre.medina@gmail.com>
+Please address all questions to the Cygwin mailing list at <cygwin@cygwin.com>

Attachment: signature.asc
Description: Digital signature


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