using xwin -depth 8 makes matlab6 plot to crash
Good morning, We have and old application that oblige us to launch xwin with the option -depth 8 as -emulatepseudo is no more available. I have a pc with windows 2000 launch xwin with the command : XWin :0 -xkbmap fr -query machinename -ac -depth 8 -fullscreen -emulate3buttons -clipboard -from pc-myname when I'm connected i launch matlab 6 in a dtterm matlab -nojvm when I do a plot it crashes cygwin Here are the traces lcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: XWin :0 -xkbmap fr -query mymachine -ac -depth 8 -fullscreen -emulate3buttons -clipboard -from pc-name ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information (==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib /X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75d pi/,/usr/X11R6/lib/X11/fonts/100dpi/ MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 040C (040c) (--) Using preset keyboard for French (Standard) (40c), type 4 (EE) Error opening keymap file fr, reverting to defaults (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winProcEstablishConnection - Hello winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client until fourth call. winProcEstablishConnection - Hello winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client until fourth call. winProcEstablishConnection - Hello winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client until fourth call. winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcQueryTree - Clipboard client already launched, returning. winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionRequest - GetClipboardData () failed: winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winRedrawScreenShadowDDNL - IDirectDrawSurface4_Blt () failed: 887601c2 winRedrawScreenShadowDDNL - IDirectDrawSurface4_Blt () failed: 887601c2 winRedrawScreenShadowDDNL - IDirectDrawSurface4_Blt () failed: 887601c2 winStoreColorsShadowDDNL - SetEntries () failed winStoreColors - Engine cpecific color storage procedure failed- Continuing, but colors may be messed up from now on. 5 [main] XWin 16748 handle-exceptions: Exception: STATUS_ACCESS_VIOLATION 878 [main] XWin 16748 open_stackdumpfile : Dumping stack trace to XWIN.exe.stackdump this file is attached. Can you help us ? Many thanks Parrat Helene email : [EMAIL PROTECTED] DRFC/STEP/GDPI building : 506 office : 213 CEA Cadarache phone : 42 63Fax : 26 61 13108 Saint Paul Lez Durance external phone : 04 42 25 42 63
Re: using xwin -depth 8 makes matlab6 plot to crash
On Mon, 21 Mar 2005, PARRAT Hélène wrote: (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 040C (040c) (--) Using preset keyboard for French (Standard) (40c), type 4 (EE) Error opening keymap file fr, reverting to defaults BTW: you are using the the -xkbmap parameter. This does not work as expected. You should either use -xkblayout fr or rely on XWin to autodetect the french keyboard which it actually does. winStoreColorsShadowDDNL - SetEntries () failed winStoreColors - Engine cpecific color storage procedure failed- Continuing, but colors may be messed up from now on. 5 [main] XWin 16748 handle-exceptions: Exception: STATUS_ACCESS_VIOLATION 878 [main] XWin 16748 open_stackdumpfile : Dumping stack trace to XWIN.exe.stackdump I've tried XWin with different programs in 8bit mode but could not reproduce the crash. Since I don't have matlab available I can not test it. this file is attached. The stackdump did not give much information since it only lists the functions where the crash occured but not the data which was referenced. Can you reproduce the crash with other tools than matlab? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
ARB and Cygwin
Hi Is it possible to use ARB extensions (shaders) under cygwin? I am not able to use glGenProgramsARB_t() --- // Generate a valid program ID // m_program_id = GLuint m_program_id ; glGenProgramsARB_t(1, m_program_id); assert(m_program_id); // typedef void (APIENTRY * glGenProgramsARB_t) (GLsizein, GLuint*); --- This assertion fails. I am using same code under Linux and it works fine. Under Linux I am using: -- ATI FireGL (256MB) card -- fglrx drivers -- ARB vertex and fragment shaders I am using same card and same shaders on windows (cygwin). And have installed latest Fire X series drivers for XP from ATI. Do i need to install any drivers in cygwin? ( i am using /lib/w32api/libopengl32.a as libGL.a (sym link) ) glxinfo on Linux shows : Direct Rendering : YES OpenGL Drivers: ATI glxinfo on Windows (Cygwin) shows: Direct Rendering : NO OpenGL Drivers: MESA Can that be a problem? (When latest drivers were not installed on Linux i got exactly same assertion failure and when i used new drivers everything was ok.) How do we make cygwin aware of underlying ATI card? Is direct rendering equivalent to using vertext/fragment shaders ? (i.e. do I need direct rendering=YES for using ARB shaders ? ) Thanks a lot for your time, Regards Ajay Joshi
src/winsup/cygwin ChangeLog fhandler.h fhandle ...
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2005-03-21 18:56:51 Modified files: winsup/cygwin : ChangeLog fhandler.h fhandler_socket.cc select.cc Log message: * fhandler.h (class cygthread): Forward declare. (fhandler_socket::sec_pipe): Remove. (fhandler_socket::eid_pipe_name): Remove. (fhandler_socket::eid_setblocking): New private method. (fhandler_socket::eid_unsetblocking): Ditto (fhandler_socket::eid_recv): Ditto (fhandler_socket::eid_send): Ditto (fhandler_socket::eid_accept): Ditto (fhandler_socket::eid_connect): New public method. * fhandler_socket.cc (ASYNC_MASK): Move to beginning of file. (fhandler_socket::eid_pipe_name): Remove. (fhandler_socket::set_socketpair_eids): Move down to fhandler_socket methods. (fhandler_socket::fhandler_socket): Drop initializing sec_pipe. (fhandler_socket::~fhandler_socket): Drop closing sec_pipe. (fhandler_socket::eid_setblocking): New method. (fhandler_socket::eid_unsetblocking): New method. (fhandler_socket::eid_recv): New method. (fhandler_socket::eid_send): New method. (fhandler_socket::eid_connect): New method. (fhandler_socket::eid_accept): New method. (fhandler_socket::dup): Drop sec_pipe handling. (fhandler_socket::connect): Fix WinSock error handling. Prepare eid credential transaction. Call eid_connect on successful connect. (fhandler_socket::listen): Drop creating sec_pipe. (fhandler_socket::accept): Slightly simplify code. Call eid_accept on accepted socket. (fhandler_socket::getpeereid): Reshuffle code for readability. Fix test for invalid pid. * select.cc (set_bits): Call eid_connect on successfully connected socket. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2782r2=1.2783 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=srcr1=1.231r2=1.232 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=srcr1=1.154r2=1.155 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=srcr1=1.107r2=1.108
src/winsup/cygwin ChangeLog fhandler.h
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2005-03-21 19:10:46 Modified files: winsup/cygwin : ChangeLog fhandler.h Log message: * fhandler.h (class cygthread): Remove forward declaration. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2783r2=1.2784 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=srcr1=1.232r2=1.233
Re: Reuse of old downloded cygwin packages
ok The problem is resolved.. Actually I was copying folder from one hard-drive to another in DOS mode.so what happened .all filenames and foldernames more than 6 characters were renamed.. e.g. libgpg-error folder was renamed to LIBGPG~1 and libgpg-error-1.0-2.tar.bz2 file renamed to LIBGPG~1.BZ2. hence the setup was not detecting all packages... Now if u dont mind I just want ask whether this problem can be fixed??? I mean if files and folders are renamed by DOS system itself , then our setup.exe should detect them also ??? Sorry if its silly question On Mon, 21 Mar 2005 12:36:37 +0530, Pradip Jadav [EMAIL PROTECTED] wrote: ya I have done like that only...but unfortunatly it does not work.. While doing setup, at the time of selecting packages only devel portion shows two selections named gcc core and gcc - testsuite, all other packages are showing nothing to install ... now??? On Thu, 17 Mar 2005 07:41:43 -0600, Paulo Sequeira [EMAIL PROTECTED] wrote: Pradip Jadav wrote: hello everybody.. I have a query regarding reuse of earlier downloaded packages...The actual situation is like this.. Earlier I was having 6 GB hard Drive ,so i thought to replace my Hard drive with 40 GB. I took backup of downloded and installed packages of cygwin.. I was downloading in D:\cygwin and installed in c:\cygwin.In d:\cygwin there was a subfolder named http%3a%2f%2fsources-redhat.mirror.redwire.net%2fcygwin, where all packages are present. Now I want to reuse it. So how to do that?? And another question is that whether I keep installed packages to c:\cygwin or not in new hard drive?? thanx in advance... So, you copied all of D:\cygwin to the new hard drive, right? Simply running D:\cygwin\setup.exe, and choosing to install from from local directory is all you need. I'm not completely sure about this, but I think that what is recommended to have cygwin installed in the new drive is to do a complete install with setup, instead of merely copying the contents of c:\cygwin. After that, to restore your c:\cygwin\home files, well, just take the backup you made of that directory and replace the contents of the new home with them. Note that, if you have manually unpacked and installed any files outside home, you may have to reinstall them again. This is what I would do, but beware, I haven't tried this for a while, and I may be wrong or missing details. -- Paulo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- With Best Regards Pradip K. Jadav -- With Best Regards Pradip K. Jadav -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: somewhat handy search page
On Sat, 19 Mar 2005 15:53:03 -0800, wrote: I've seen a few posts mention the using Google's advanced search features to search the Cygwin website. I do this all the time and got a little tired of typing the same things a lot, so I made the attached HTML page. It also includes some JavaScript code I've messed around with to use Google's daterange: function which is occasionally useful but often not. The main problem is that daterange only takes account of the date Google indexed pages, not when they were created. If you don't use JavaScript the rest of the search form still works. See http://cygwin.com/ml/cygwin/2005-03/msg00763.html Thanks very useful! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Using ssmtp to send email as a different user (-f doesn't seem to be working)
Hi everyone, Apologies if I'm missing something really obvious here, but I can't seem to get ssmtp to use the -f option, to change the address to send from. My situation is like this: I'm currently working on a number of shell scripts, which must send email in certain situations. Due to email policy restrictions where I work, these messages must be sent from one specific email address, in the form [EMAIL PROTECTED] (this isn't the actual address, as you probably guessed). However, the user foo does not exist as an actual user account, and the computer concerned is not called bar.somewhere.com. I've got the rewriteDomain option set up to correctly set the domain, but I cannot seem to set the name. Running ssmtp as /usr/sbin/ssmtp -ffoo doesn't seem to be working, as the address that ssmtp is attempting to send from is username@bar.somewhere.com, which is being rejected by the email server. I have managed to sucesfully get the system working for individual users using the reverse aliasing feature, but I really don't want to have to set this up for every user who will use the system. The contents of my /etc/ssmtp/ssmtp.conf file are as follows: # # /etc/ssmtp/ssmtp.conf -- a config file for sSMTP sendmail. # mailhub=mailserver.internaladdress.bar.somewhere.com FromLineOverride=no hostname=mypc.internaladdress.bar.somewhere.com rewriteDomain=bar.somewhere.com root=postmaster # Configure sSMTP in Six Easy Steps # # (1) mailhub # This is the computer responsible for handling your outgoing mail. # It could be the SMTP server of your ISP, or a departmental mailhub. # Use the fully-qualified domain name (foo.bar.baz) of the mailhub; # if it uses an unusual SMTP port number, use the colon syntax # foo.bar.baz:2525 # Otherwise sSMTP will use the standard SMTP port number (25). # (Note that sSMTP can support a user-dependent mailhub with the # 'reverse aliases' feature, for which see the man page.) # # (2) FromLineOverride # This specifies how sSMTP handles the From: line of outgoing mail. # If FromLineOverride=YES, sSMTP will leave the From: line alone if # it already exists. If FromLineOverride has any other value, or # there is no From: line, sSMTP creates the From: line using your # username (or the -f command-line option), and the value of the # rewriteDomain option (step (4), below). # If you use a mail user agent (MUA; e.g. mutt, pine) I recommend # using YES and having the MUA set the From: line. (Exception: the # 'reverse aliases' feature can be used to set up a particular From: # address for each user, in which case don't use FromLineOverride=YES. # See the man page.) # # (3) hostname # sSMTP uses the hostname of your computer to identify itself to the # mailhub, and in the Received: headers of the outgoing mail. This # has relatively little effect on how the mail is handled. # Use the fully-qualified domain name (FQDN) of your computer # (foo.bar.baz). If it doesn't have a FQDN, use some name for your box. # # (4) rewriteDomain # Please enter the mail name of your system. # sSMTP uses this value to add a domain to unqualified e-mail addresses # (addresses without an @-sign). # You probably want to use the domain from your own e-mail address. # You probably want to set up your MUA to handle unqualified addresses # itself, in which case sSMTP will never have to use this. (Users of # cron note that cron always uses unqualified addresses.) # # (5) root # If sSMTP finds an unqualified e-mail address among # the recipients, and it corresponds to a username on your local # machine with a userid less than 1000, then the e-mail is sent to # this value instead. The idea is that mail sent to 'root' should # probably go to 'postmaster' instead. # If you set up your MUA to do its own handling of unqualified # addresses, this is irrelevant. (But note that cron does use # unqualified addresses corresponding to local usernames.) # Use your own e-mail address unless you know a better postmaster. # # (6) link /usr/sbin/sendmail to /usr/sbin/ssmtp? # Some programs (e.g. cron) expect /usr/sbin/sendmail to handle mail. # You may wish to ensure that it is a symbolic link to /usr/sbin/ssmtp. Any advice will be much appreciated. Regards, Thomas Revell :. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Any date on next cygwin package release?
On Sun, Mar 20, 2005 at 10:42:37PM -0800, William Deegan wrote: The broken cygpath makes it difficult to move my userbase forward to the latest cygwin package. The broken cygpath? http://cygwin.com/problems.html might provide some valuable clues on how to report problems. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: bad installation ?
--On 12 March 2005 09:30 + John Morrison (Cygwin) wrote: (with reply-to cygwin-apps, but I can't because I am not subscribed to that list) Can't help there - I don't maintain mkpasswd's man page. Personally I didn't know that your user could be in a different domain from the one where it is defined! Oh well, live and learn. Suggestions to improve things...? It might be worth mentioning the environment variables USERNAME and USERDOMAIN as in mkpasswd -u $USERNAME -d $USERDOMAIN This may be useful to people who have a domain login in an environment where there is a non-trivial domain structure. You might also think that 'mkpasswd -l -c' would give you an entry for the current domain user that has the same group id as you get by using the invocation shown above, but this is not necessarily so. -- Owen Rees Hewlett Packard Laboratories, Bristol, UK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Reuse of old downloded cygwin packages
At 03:43 AM 3/21/2005, you wrote: ok The problem is resolved.. Actually I was copying folder from one hard-drive to another in DOS mode.so what happened .all filenames and foldernames more than 6 characters were renamed.. e.g. libgpg-error folder was renamed to LIBGPG~1 and libgpg-error-1.0-2.tar.bz2 file renamed to LIBGPG~1.BZ2. hence the setup was not detecting all packages... Now if u dont mind I just want ask whether this problem can be fixed??? Sure, if someone has the time and interest to create a patch for this corner case. I wouldn't hold my breath waiting for such a patch to be generated by someone else however. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: bad installation ?
On Mon, 21 Mar 2005, Owen Rees wrote: --On 12 March 2005 09:30 + John Morrison (Cygwin) wrote: (with reply-to cygwin-apps, but I can't because I am not subscribed to that list) Can't help there - I don't maintain mkpasswd's man page. Personally I didn't know that your user could be in a different domain from the one where it is defined! Oh well, live and learn. Suggestions to improve things...? It might be worth mentioning the environment variables USERNAME and USERDOMAIN as in mkpasswd -u $USERNAME -d $USERDOMAIN One quick note: it's better to use mkpasswd -u $USERNAME -d $USERDOMAIN otherwise spaces in username/domain will screw things up. Igor This may be useful to people who have a domain login in an environment where there is a non-trivial domain structure. You might also think that 'mkpasswd -l -c' would give you an entry for the current domain user that has the same group id as you get by using the invocation shown above, but this is not necessarily so. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Reuse of old downloded cygwin packages
On Mon, 21 Mar 2005, Pradip Jadav wrote: ok The problem is resolved.. Actually I was copying folder from one hard-drive to another in DOS mode.so what happened .all filenames and foldernames more than 6 characters were renamed.. e.g. libgpg-error folder was renamed to LIBGPG~1 and libgpg-error-1.0-2.tar.bz2 file renamed to LIBGPG~1.BZ2. hence the setup was not detecting all packages... Now if u dont mind I just want ask whether this problem can be fixed??? I mean if files and folders are renamed by DOS system itself , then our setup.exe should detect them also ??? Sorry if its silly question Not as much silly as misguided. The mapping from long filenames to short filenames happens at the Windows level -- there is no way for a program to predict what short name a particular long name will map to. Thus, there is no way to track the short names back to the long names, sorry. One wild idea: you could try matching the MD5 sums of the bz2 files to the contents of setup.ini... Given that the short names do share the first 6 characters with the long names, this shouldn't be too time-consuming. But, as Larry said already, http://cygwin.com/acronyms/#SHTDI, and it probably won't be anyone but you. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin's libtool problem with directory that contains white spaces
I'm experiencing problems with libtool 1.5.10 on Cygwin. I'm trying to compile a project in: /home/Jean-Philippe\ Barret/project/curlpp In the 'examples' subdirectory, this problem occurs: - Making all in examples make[2]: Entering directory `/home/Jean-Philippe Barret/curlpp/examples' /bin/bash ../libtool --silent --mode=link --tag=CXX g++ -I../ -g -W -Wall -Werr or -I/usr/local/include -g -W -Wall -Werror -I/usr/local/include -L../curlp p/ -lcurlpp -static -o example01.exe example01.o -lstdc++ -L/usr/local/lib -l curl -lssl -lcrypto -lgdi32 -lwinmm -lz libtool: link: cannot find the library `' make[2]: *** [example01.exe] Error 1 make[2]: Leaving directory `/home/Jean-Philippe Barret/curlpp/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Jean-Philippe Barret/curlpp' make: *** [all] Error 2 -- I investigated the problem and when I call libtool with --debug like this (in the examples subdirectory): $ /bin/bash ../libtool --debug --silent --mode=link --tag=CXX g++ -I../ -g -W -Wall -Werror -I/usr/local/include -g -W -Wall -Werror -I/usr/local/includ e -L../curlpp/ -lcurlpp -static -o example01.exe example01.o -lstdc++ -L/usr /local/lib -lcurl -lssl -lcrypto -lgdi32 -lwinmm -lz here's the output: -- + preserve_args= --debug + test 29 -gt 0 + arg=--silent + shift + optarg= + test -n '' + show=: + preserve_args= --debug --silent + test 28 -gt 0 + arg=--mode=link + shift ++ echo X--mode=link ++ /usr/bin/sed -e '1s/^X//' -e 's/[-_a-zA-Z0-9]*=//' + optarg=link + test -n '' + mode=link + test 27 -gt 0 + arg=--tag=CXX + shift ++ echo X--tag=CXX ++ /usr/bin/sed -e '1s/^X//' -e 's/[-_a-zA-Z0-9]*=//' + optarg=CXX + test -n '' + set tag CXX g++ -I../ -g -W -Wall -Werror -I/usr/local/include -g -W -Wall -Werror -I/usr/local/include -L../curlpp/ -lcurlpp -static -o example01.exe example01.o -lstdc++ -L/usr/local/lib -lcurl -lssl -lcrypto -lgdi32 -lwinmm -lz + shift + prev=tag + preserve_args= --debug --silent --tag + test 27 -gt 0 + arg=CXX + shift + optarg= + test -n tag + tagname=CXX + preserve_args= --debug --silent --tag=CXX + grep '^# ### BEGIN LIBTOOL TAG CONFIG: CXX$' + taglist= CXX ++ /usr/bin/sed -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: CXX$/,/^# ### END LIBTOOL TAG CONFIG: CXX$/p' + eval '# ### BEGIN LIBTOOL TAG CONFIG: CXX # Libtool was configured on host LAPTRON: # Shell to use when invoking shell scripts. SHELL=/bin/bash # Whether or not to build shared libraries. build_libtool_libs=yes # Whether or not to build static libraries. build_old_libs=no # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=no # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=yes # Whether or not to optimize for fast installation. fast_install=needless # The host system. host_alias= host=i686-pc-cygwin # An echo program that does not interpret backslashes. echo=echo # The archiver. AR=ar AR_FLAGS=cru # A C compiler. LTCC=gcc # A language-specific compiler. CC=g++ # Is the compiler the GNU C compiler? with_gcc=yes # An ERE matcher. EGREP=grep -E # The linker used to build libraries. LD=/usr/i686-pc-cygwin/bin/ld.exe # Whether we need hard or soft links. LN_S=ln -s # A BSD-compatible nm program. NM=/usr/bin/nm -B # A symbol stripping program STRIP=strip # Used to examine libraries when file_magic_cmd begins file MAGIC_CMD=file # Used on cygwin: DLL creation program. DLLTOOL=dlltool # Used on cygwin: object dumper. OBJDUMP=objdump # Used on cygwin: assembler. AS=as # The name of the directory that contains temporary libtool files. objdir=.libs # How to create reloadable object files. reload_flag= -r reload_cmds=\$LD\$reload_flag -o \$output\$reload_objs # How to pass a linker flag through the compiler. wl=-Wl, # Object file suffix (normally o). objext=o # Old archive suffix (normally a). libext=a # Shared library suffix (normally .so). shrext_cmds='\''.dll'\'' # Executable file suffix (normally ). exeext= # Additional compiler flags for building library objects. pic_flag= -DPIC pic_mode=default # What is the maximum length of a command? max_cmd_len=8192 # Does compiler simultaneously support -c and -o options? compiler_c_o=yes # Must we lock files when doing compilation ? need_locks=no # Do we need the lib prefix for modules? need_lib_prefix=no # Do we need a version for libraries? need_version=no # Whether dlopen is supported. dlopen_support=yes # Whether dlopen of programs is supported. dlopen_self=no # Whether dlopen of statically linked programs is supported. dlopen_self_static=unknown # Compiler flag to prevent dynamic linking. link_static_flag=-static # Compiler flag to turn off builtin functions. no_builtin_flag=
Re: Any date on next cygwin package release?
cygpath --help seg faults. There's already been a checkin to cvs to fix it and a couple of notes in cygwin mailing list about it. Just wondering when a new package will be released. Thanks, Bill On Mon, 21 Mar 2005 10:04:31 -0500, Christopher Faylor [EMAIL PROTECTED] wrote: On Sun, Mar 20, 2005 at 10:42:37PM -0800, William Deegan wrote: The broken cygpath makes it difficult to move my userbase forward to the latest cygwin package. The broken cygpath? http://cygwin.com/problems.html might provide some valuable clues on how to report problems. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Using vi in UNIX mode instead of DOS mode
Is there anyway of telling vi to use UNIX-mode editing as supposed to DOS-mode? I want to avoid all the ^M's when transferring files from Windows to UNIX, even though I use dos2unix to remove them, I want to just simply avoid that step. Any and all assistence is grately appreciated. Regards, Auteria W. Winzer Jr. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using vi in UNIX mode instead of DOS mode
Auteria Wally Winzer Jr. wrote: Is there anyway of telling vi to use UNIX-mode editing as supposed to DOS-mode? I want to avoid all the ^M's when transferring files from Windows to UNIX, even though I use dos2unix to remove them, I want to just simply avoid that step. Any and all assistence is grately appreciated. Regards, Auteria W. Winzer Jr. :help fileformat reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin CVS Can't check out or update remote shell
I have Cygwin DLL v1.5.13-1. I install all ssh and cvs files. Cygwin works fine when I am logged on to the server but When I try to check out or update a module form remote desktop from either cygwin bash or Wincvs it does not work and I get the following error. C:\cygwin\bin\ssh.exe (1400): ***could not load user 32, win32 error 0. thanks, justin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using vi in UNIX mode instead of DOS mode
On Mon, 21 Mar 2005, Reid Thompson wrote: Auteria Wally Winzer Jr. wrote: Is there anyway of telling vi to use UNIX-mode editing as supposed to DOS-mode? I want to avoid all the ^M's when transferring files from Windows to UNIX, even though I use dos2unix to remove them, I want to just simply avoid that step. Any and all assistence is grately appreciated. Regards, Auteria W. Winzer Jr. :help fileformat reid ...or use binary mounts. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using vi in UNIX mode instead of DOS mode
how do you use the binary mounts Igor? Auteria --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Mon, 21 Mar 2005, Reid Thompson wrote: Auteria Wally Winzer Jr. wrote: Is there anyway of telling vi to use UNIX-mode editing as supposed to DOS-mode? I want to avoid all the ^M's when transferring files from Windows to UNIX, even though I use dos2unix to remove them, I want to just simply avoid that step. Any and all assistence is grately appreciated. Regards, Auteria W. Winzer Jr. :help fileformat reid ...or use binary mounts. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Using vi in UNIX mode instead of DOS mode
On Mon, Mar 21, 2005 at 01:39:42PM -0500, Igor Pechtchanski wrote: On Mon, 21 Mar 2005, Reid Thompson wrote: Auteria Wally Winzer Jr. wrote: Is there anyway of telling vi to use UNIX-mode editing as supposed to DOS-mode? I want to avoid all the ^M's when transferring files from Windows to UNIX, even though I use dos2unix to remove them, I want to just simply avoid that step. Any and all assistence is grately appreciated. Regards, Auteria W. Winzer Jr. :help fileformat reid ...or use binary mounts. I think vim will still help you even if you have binary mounts though, won't it? I just noticed that one of the files that I was editing on UNIX had CRLF line endings and vim was nice enough to mask that fact for me. I would expect binary mounts to behave similarly. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Using vi in UNIX mode instead of DOS mode
On Mon, 21 Mar 2005, Christopher Faylor wrote: On Mon, Mar 21, 2005 at 01:39:42PM -0500, Igor Pechtchanski wrote: On Mon, 21 Mar 2005, Reid Thompson wrote: Auteria Wally Winzer Jr. wrote: Is there anyway of telling vi to use UNIX-mode editing as supposed to DOS-mode? I want to avoid all the ^M's when transferring files from Windows to UNIX, even though I use dos2unix to remove them, I want to just simply avoid that step. Any and all assistence is grately appreciated. Regards, Auteria W. Winzer Jr. :help fileformat reid ...or use binary mounts. I think vim will still help you even if you have binary mounts though, won't it? I just noticed that one of the files that I was editing on UNIX had CRLF line endings and vim was nice enough to mask that fact for me. I would expect binary mounts to behave similarly. Yes, it'll help, but I understood the OP's question as how to get new files written by VIm to have LF line endings *by default*. Once you already have a file with CRLF line endings, Reid's answer about 'fileformat' is the way to go. Also, the 'fileformats' option (note the 's' at the end) configures this behavior (:se ffs=unix will turn off this help). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using vi in UNIX mode instead of DOS mode
On Mon, 21 Mar 2005, Auteria Wally Winzer Jr. wrote: --- Igor Pechtchanski [EMAIL PROTECTED] wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. On Mon, 21 Mar 2005, Reid Thompson wrote: Auteria Wally Winzer Jr. wrote: Is there anyway of telling vi to use UNIX-mode editing as supposed to DOS-mode? I want to avoid all the ^M's when transferring files from Windows to UNIX, even though I use dos2unix to remove them, I want to just simply avoid that step. Any and all assistence is grately appreciated. Regards, Auteria W. Winzer Jr. :help fileformat reid ...or use binary mounts. Igor how do you use the binary mounts Igor? Auteria man mount should help. Also, http://cygwin.com/cygwin-ug-net/using-utils.html#mount and http://cygwin.com/faq/faq_3.html#SEC74. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using vi in UNIX mode instead of DOS mode
Thanks alot Igor for providing such valuable information. Auteria --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Mon, 21 Mar 2005, Auteria Wally Winzer Jr. wrote: --- Igor Pechtchanski [EMAIL PROTECTED] wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. On Mon, 21 Mar 2005, Reid Thompson wrote: Auteria Wally Winzer Jr. wrote: Is there anyway of telling vi to use UNIX-mode editing as supposed to DOS-mode? I want to avoid all the ^M's when transferring files from Windows to UNIX, even though I use dos2unix to remove them, I want to just simply avoid that step. Any and all assistence is grately appreciated. Regards, Auteria W. Winzer Jr. :help fileformat reid ...or use binary mounts. Igor how do you use the binary mounts Igor? Auteria man mount should help. Also, http://cygwin.com/cygwin-ug-net/using-utils.html#mount and http://cygwin.com/faq/faq_3.html#SEC74. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using vi in UNIX mode instead of DOS mode
at one time i'd pulled these from somewhere also -- currently they are commented out in my .*vimrc. au BufReadPre * if (ff == dos) |au BufReadPost * set fileformat=unix |au BufReadPost * %s/^M\+$// | endif au BufReadPost * if (ff == dos) | set ff=unix | %s/^M\+$// | endif reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problem with CYGWIN 1.5.13-1
Hi, I have tried to rebuild ROOT 4.03.02 (a CERN application) with CYGWIN 1.5.13-1 (with the previous 1.5.12-1 all worked fine). When I try to unpack the source root_v4.03.02.source.tar.gz with tar -xzvf root_ it take long, long time. The CPU is working at 100% and I am constrained to break it with C-Break. After about 1 hour only 25% is unpacked! Normally (with Cygwin 1.5.12-1 and previous versions, it takes only 40-60 seconds!) I have also made a downgrade to 1.5.12-1 to verify and it works fine. To work with 1.5.13-1 I must, first, gunzip the root_v4...tar.gz file and than I can untar it. In this way I can continue to rebuild the application. Using tar -xzvf ... I have noticed that root_v4...tar.gz file contains other *.tar.gz files (3). When the unpacking process starts to unpack the first of these files (in a sort of recursivity) it slows down much. I repeat: the 1.5.12-1 does not give any of these problems! I do not ask help for my application: I want only to point out a possible conflict between CYGWIN 1.5.13-1 and tar -xzvf file.tar.gz in which file.tar.gz contains others *.tar.gz files angelo [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin's libtool problem with directory that contains white spaces
Jean-Philippe Barrette-LaPierre wrote: I'm experiencing problems with libtool 1.5.10 on Cygwin. I'm trying to compile a project in: /home/Jean-Philippe\ Barret/project/curlpp In the 'examples' subdirectory, this problem occurs: [snip] you can see that this is not correct. It didn't expanded the -L/home/Jean-Philippe Barret/curlpp/curlpp (-L../curlpp on the libtool call) correctly. We should have this line instead: + deplibs=-L/home/Jean-Philippe Barret/curlpp/curlpp So, it seems that it doesn't handle correctly a directory with white spaces. I tried with a directory without any whitespace, and it worked perfectly. Yep. Cygwin's libtool, which is almost unchanged from the official 1.5.10 -- does not support pathnames with spaces in them. I would ask for patches, but things seem to be gearing up for the long-heralded libtool-2.0 release and it may (or may not?) have fixed problems of this sort. Unfortunately, all I can recommend at this time is don't do that. Maybe unpack and build in /tmp/curlpp instead of in your $HOME. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin Manpage problem
Hi all I've been having problem with Cygwin's manpages. I can't seem to find anything in there. For example, if I typed man printf, it will give me a blank page. If I typed man pthread_create, I would get the no entry error. How does cygwin's manpage work? Is something broken with my manpage? If so, what packages should I reinstall? Thanks .. Alan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin Manpage problem
Alan Ning wrote: I've been having problem with Cygwin's manpages. I can't seem to find anything in there. For example, if I typed man printf, it will give me a blank page. If I typed man pthread_create, I would get the no entry error. How does cygwin's manpage work? Is something broken with my manpage? If so, what packages should I reinstall? The output you're getting (or should be getting - it works for me) for man printf is probably from coreutils, for the /usr/bin/printf binary and not the system function. Cygwin doesn't really have manpages for its system functions. There is some documentation from newlib that you can read with info libc and the Cygwin users guide lists the functions that are implemented. In general though it's just doesn't exist because no one has written it. Your best bet is to read the documentation of the IEEE/Posix standards (opengroup.org / Single UNIX Specification) and/or the manpages of other unixes. Linux/glibc, Freebsd, Solaris, etc. all have very detailed manpages online. You have to be aware though that each of those can have extensions that are specific to that implementation (notably glibc), so if in doubt about something, compare to SUS and other unixes and choose the lowest common denominator. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin and ARB shader
Hi Is it possible to use ARB extensions (shaders) under cygwin? I am not able to use glGenProgramsARB_t() --- // Generate a valid program ID // m_program_id = GLuint m_program_id ; glGenProgramsARB_t(1, m_program_id); assert(m_program_id); // typedef void (APIENTRY * glGenProgramsARB_t) (GLsizein, GLuint*); --- This assertion fails. I am using same code under Linux and it works fine. Under Linux I am using: -- ATI FireGL (256MB) card -- fglrx drivers -- ARB vertex and fragment shaders I am using same card and same shaders on windows (cygwin). And have installed latest Fire X series drivers for XP from ATI. Do i need to install any drivers in cygwin? ( i am using /lib/w32api/libopengl32.a as libGL.a (sym link) ) glxinfo on Linux shows : Direct Rendering : YES OpenGL Drivers: ATI glxinfo on Windows (Cygwin) shows: Direct Rendering : NO OpenGL Drivers: MESA Can that be a problem? (When latest drivers were not installed on Linux i got exactly same assertion failure and when i used new drivers everything was ok.) How do we make cygwin aware of underlying ATI card? Is direct rendering equivalent to using vertext/fragment shaders ? (i.e. do I need direct rendering=YES for using ARB shaders ? ) Thanks a lot for your time, Regards Ajay Joshi -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/