Ticket #322 (new todo)

Opened 6 years ago

Last modified 4 years ago

Annoying cygwin/mingw cfg readline popup

Reported by: rurban Owned by:
Priority: trivial Milestone:
Component: configure Version:
Severity: low Keywords:
Cc: Language:
Patch status: Platform: win32

Description

mingw with cygwin also installed but not in the path leads an annoying modal warning popup about the missing cygreadline dll, because the mingw libpath search also includes the cygwin /lib path.

auto::readline - Does your platform support readline...Can't spawn ".\test_4744.exe": Bad file descriptor at lib/Parrot/Configure/Utils.pm line 86. .............done.

Either us a win32 trick to ignore this process invocation warning about a missing dll, or remove the wrong cygwin libpaths from the linker search path.

auto::readline -      Does your platform support readline...

gcc -Wl,--verbose test_892.o -lreadline -o test_892.exe  -lmsvcrt -lmoldname -kernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -version -lodbc32 -lodbccp32 -lgmp .\test_892.exe

...
attempt to open c:\strawberry\c\mingw32\bin\../lib\libreadline.a failed
...
attempt to open /mingw/lib\libreadline.a failed
attempt to open /usr/local/lib/libreadline.dll.a failed
attempt to open /usr/local/lib/readline.dll.a failed
attempt to open /usr/local/lib/libreadline.a failed
attempt to open /usr/local/lib/readline.lib failed
attempt to open /usr/local/lib/libreadline.dll failed
attempt to open /usr/local/lib/readline.dll failed
attempt to open /usr/local/lib\libreadline.a failed
attempt to open /lib/libreadline.dll.a succeeded
(/lib/libreadline.dll.a)d000367.o
(/lib/libreadline.dll.a)d000000.o
(/lib/libreadline.dll.a)d000584.o

/lib/libreadline.dll.a is a cygwin path, and mingw should not even know about that mountpoint

Change History

Changed 6 years ago by rurban

  • status changed from new to assigned

Changed 5 years ago by jkeenan

  • component changed from none to configure

Changed 5 years ago by coke

  • status changed from assigned to new
  • owner rurban deleted

Changed 4 years ago by ronaldws

I have two Windows machines with cygwin and have built parrot on both. In both cases cygwin is not on the path. One is an XP machine with strawberry Perl and the other is a Vista machine with ActiveState Perl and mingw. The error output above is for strawberry Perl. I remember seeing such popups at times past but don't see them now. I retested "perl Configure.pl" on each and noted the "auto::readline (etc) .... no" without the symptoms.

Note: See TracTickets for help on using tickets.