[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-devel
Subject:    Fw: [Gallery-devel] Fw: [Gallery-core] Cygwin environment broken
From:       "Larry Menard" <larry.menard () rogers ! com>
Date:       2006-05-09 19:09:39
Message-ID: 1cac01c6739c$1f3ece60$6401a8c0 () larryhome
[Download RAW message or body]

   I just ran "svn update", and still get the same error from gmake.

PHP Warning:  Smarty::include(): Failed opening 
'tmp_dbxml_18311\%%3A^3A4^3A4937
40%%dbxml.tpl.php' for inclusion (include_path='C:\Program 
Files\php\PEAR\pear;/
bogus') in d:\Temp\gallery2\lib\smarty\Smarty.class.php on line 1265
PHP Warning: 
Smarty::include(tmp_dbxml_18311\%%3A^3A4^3A493740%%dbxml.tpl.php):
 failed to open stream: No such file or directory in 
d:\Temp\gallery2\lib\smarty
\Smarty.class.php on line 1265

--------------------
Larry Menard
"Defender of Geese and of All Things Natural"
E-mail and MSN Messenger: larry.menard@rogers.com
Web: http://ca.geocities.com/larry.menard@rogers.com


----- Original Message ----- 
From: "Larry Menard" <larry.menard@rogers.com>
To: "Bharat Mediratta" <bharat@menalto.com>
Sent: Tuesday, May 09, 2006 4:14 AM
Subject: Re: [Gallery-devel] Fw: [Gallery-core] Cygwin environment broken


>   Hi, Bharat.
>
>   Mindless has integrated the change I needed to build, so I haven't 
> needed to run gmake since then.  I'l update my build in the next few days 
> and try doing so again (rather busy doing birding for the next few days). 
> You know the expression "getting up with the birds"?  Unfortunately 
> there's a lot of truth to it.  :-(  Love my birds, hate the early 
> mornings.
> --------------------
> Larry Menard
> "Defender of Geese and of All Things Natural"
> E-mail and MSN Messenger: larry.menard@rogers.com
> Web: http://ca.geocities.com/larry.menard@rogers.com
>
>
> ----- Original Message ----- 
> From: "Bharat Mediratta" <bharat@menalto.com>
> To: "Larry Menard" <larry.menard@rogers.com>
> Cc: <gallery-devel@lists.sourceforge.net>
> Sent: Tuesday, May 09, 2006 2:47 AM
> Subject: Re: [Gallery-devel] Fw: [Gallery-core] Cygwin environment broken
>
>
>>
>> Larry,
>>
>> Sorry for the delay in replying.  Are you still having this problem?  I 
>> just tried again to rebuild the files and ran into some minor snags (on a 
>> different Windows box) and committed a fix for this:
>>
>> http://svn.sourceforge.net/viewcvs.cgi/gallery?rev=13619&view=rev
>>
>> I can now run "perl lib/tools/bin/rebuild-modules.pl", it completes 
>> without errors and regenerates maps/entities on Windows that are exactly 
>> the same as on Unix.  So, I can't reproduce your problem :-/
>>
>> -Bharat
>>
>> Larry Menard wrote:
>>>    Bharat,
>>>  Thanks for the response, now that SVN appears to be available I finally 
>>> got to test this change.
>>>  It's still failing, I get errors:
>>>  $ gmake dbxml
>>>     perl ../../../../lib/tools/bin/extractClassXml.pl
>>>     --dtd=../../../../lib/tools/dtd/GalleryClass2.0.dtd --quiet
>>>     --out-dir=tmp/classxml ../*.class
>>>     php -f ../../../../lib/tools/bin/generate-dbxml.php
>>>     PHP Warning: 
>>> Smarty::include(tmp_dbxml_13886\%%3A^3A4^3A493740%%dbxml.tpl.php): 
>>> failed
>>>     to open stream: No such file or directory in
>>>     d:\Temp\gallery2\lib\smarty\Smarty.class.php on line 1265
>>>     XML error: Empty document at line 2
>>>
>>>  (Note that I actually get many screens of the PHP Warnings, not just 
>>> one of them, but they're all identical.)
>>>  The mkdir no longer seems to be the issue, the temp directory is being 
>>> created, and I do see the tpl file in it
>>>  lmenard@cs288290-a <mailto:lmenard@cs288290-a>
>>>     /cygdrive/d/temp/gallery2/modules/core/classes/gallerystorage
>>>      $ ls -l "tmp_dbxml_13886\%%3A^3A4^3A493740%%dbxml.tpl.php"
>>>     -rwxrwxrwx+ 1 lmenard None 3120 Apr 27 11:20
>>>     tmp_dbxml_13886\%%3A^3A4^3A493740%%dbxml.tpl.php
>>>
>>>  The problem is that in Smarty::fetch(), the line 
>>> "include($_smarty_compile_path);" doesn't seem to be able to open the 
>>> file.
>>>  Any idea why?
>>> --------------------
>>> Larry Menard
>>> "Defender of Geese and of All Things Natural"
>>> E-mail and MSN Messenger: larry.menard@rogers.com 
>>> <mailto:larry.menard@rogers.com>
>>> Web: http://ca.geocities.com/larry.menard@rogers.com
>>>  ----- Original Message -----
>>> From: "Bharat Mediratta" <bharat@menalto.com 
>>> <mailto:bharat@menalto.com>>
>>> To: <gallery-core@lists.sourceforge.net 
>>> <mailto:gallery-core@lists.sourceforge.net>>
>>> Sent: Sunday, April 23, 2006 3:39 AM
>>> Subject: Re: [Gallery-core] Cygwin environment broken
>>>
>>>  > Larry Menard wrote:
>>>  >>    Folks,
>>>  >> >>    Sorry for asking this question here, but it *is* 
>>> Gallery-related... :-)
>>>  >
>>>  > No problem.  It would be slightly better to have this discussion on
>>>  > gallery-devel.  We try to only have sensitive/private discussions on
>>>  > gallery-core and this particular discussion would be fine to have on
>>>  > -devel (just for the future).
>>>  >
>>>  >
>>>  >>    I installed Cygwin on my test system (Windows XP), but I can't 
>>> get
>>>  >> 'gmake' to work properly.  When I go into
>>>  >> "modules/core/classes/GalleryStorage" and run "gmake", I get:
>>>  >
>>>  > Aah, cygwin.  Grr.  The problem is that when PHP runs mkdir it's 
>>> rooted
>>>  > in a DOS path (c:\) and we're giving it a cygwin path (/tmp).  The 
>>> two
>>>  > don't mix.  I just committed a change to get rid of the temp 
>>> directory
>>>  > altogether and just use the current dir, and that seems to work on 
>>> both
>>>  > windows and unix.  Try out the latest (just cvs up lib/tools) and let 
>>> me
>>>  > know if you still have problems.
>>>  >
>>>  > -Bharat
>>>  >
>>>  >
>>>  > -------------------------------------------------------
>>>  > Using Tomcat but need to do more? Need to support web services, 
>>> security?
>>>  > Get stuff done quickly with pre-integrated technology to make your 
>>> job easier
>>>  > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>>> Geronimo
>>>  > 
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 
>>> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>>>  > _______________________________________________
>>>  > Gallery-core mailing list
>>>  > Gallery-core@lists.sourceforge.net 
>>> <mailto:Gallery-core@lists.sourceforge.net>
>>>  > https://lists.sourceforge.net/lists/listinfo/gallery-core
>>>  >
>>
>>
>>
> 



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic