<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://morison.biz/technotes/feeds/rss.css" ?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/" 
	xmlns:dc="http://purl.org/dc/elements/1.1/" 
	xmlns:icbm="http://postneo.com/icbm/" 
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/" 
	xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" 
	xmlns:wfw="http://wellformedweb.org/CommentAPI/" >

<channel>
	<title>Last comments at Rod Morison Software</title>
	<link>http://morison.biz/technotes/</link>
	<description>Each article also has its own newsfeed.</description>
	<language>en</language>
	<copyright>2006-2008, Rod Morison Software</copyright>
	<managingEditor>technotes@morison.biz</managingEditor>
	<lastBuildDate>Sat, 04 Jul 2009 04:35:19 GMT</lastBuildDate>
	<generator>Yet Another Community System</generator>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>70</ttl>

	<item>
		<title>I had to manually add a link &quot;sudo ln -s ...</title>
		<link>http://morison.biz/technotes/comments/10</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/10</guid>
		<description>I had to manually add a link &quot;sudo ln -s /var/spool/postfix/var/run/mysqld /var/run/mysqld&quot; to make web-cyradm run</description>
		<body xmlns="http://www.w3.org/1999/xhtml">I had to manually add a link "sudo ln -s /var/spool/postfix/var/run/mysqld /var/run/mysqld" to make web-cyradm run</body>
		<dc:creator></dc:creator>
		<category>Web-Cyradm Install</category>
		<pubDate>Fri, 29 May 2009 02:42:02 GMT</pubDate>
	</item>

	<item>
		<title>Very good! One of the very few howtos that actually ...</title>
		<link>http://morison.biz/technotes/comments/9</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/9</guid>
		<description>Very good! One of the very few howtos that actually work  
One minor addition:
the login test didn't work, I had to manually modify access right (sudo chmod g+r /etc/ssl/private) to get rid of &quot;unable to get private key from '/etc/ssl/private/ssl-cert-snakeoil.key'&quot;</description>
		<body xmlns="http://www.w3.org/1999/xhtml">Very good! One of the very few howtos that actually work <img src="http://morison.biz/technotes/skins/images/smileys/smile.gif" alt="" /> 
One minor addition:
the login test didn't work, I had to manually modify access right (sudo chmod g+r /etc/ssl/private) to get rid of "unable to get private key from '/etc/ssl/private/ssl-cert-snakeoil.key'"</body>
		<dc:creator></dc:creator>
		<category>Postfix &amp; Cyrus Install</category>
		<pubDate>Fri, 29 May 2009 01:12:30 GMT</pubDate>
	</item>

	<item>
		<title>Gordon:hi there
 I have a ubuntu machine (Hardy Heron).
It ...</title>
		<link>http://morison.biz/technotes/comments/8</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/8</guid>
		<description>hi there
 I have a ubuntu machine (Hardy Heron).
It does not have smtptest and imaptest.



 Can't seem to use apt-get to install them.
 I have googled for info on how to install them but no luck.
 How do I install them?    



thanks</description>
		<body xmlns="http://www.w3.org/1999/xhtml">hi there
 I have a ubuntu machine (Hardy Heron).
It does not have smtptest and imaptest.<br />
<br />
 Can't seem to use apt-get to install them.
 I have googled for info on how to install them but no luck.
 How do I install them?  <img src="http://morison.biz/technotes/skins/images/smileys/undecided.gif" alt="" />  <br />
<br />
thanks</body>
		<dc:creator>Gordon</dc:creator>
		<category>Postfix &amp; Cyrus Install</category>
		<pubDate>Thu, 21 May 2009 13:58:48 GMT</pubDate>
	</item>

	<item>
		<title>Kuhlschrank:i do not find the mentioned winxp.vc9.manifest...

there ... (65 words to read) </title>
		<link>http://morison.biz/technotes/comments/7</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/7</guid>
		<description>i do not find the mentioned winxp.vc9.manifest...



there is only a winxp.manifest in the current distribution of sources of wxPython
with this one, i get an error message, when trying to run mt.exe as mentioned in your article:
mt.exe:general error c101008c:Failed to read the manifest from the resource of file &quot;python.exe&quot;. Der angegebene Ressourcenname wurde nicht in der Image-Datei gefunden.



last sentence is german and means &quot;Given resource name was not found in image-file&quot;



thanks for any help



Kuhlschrank</description>
		<body xmlns="http://www.w3.org/1999/xhtml">i do not find the mentioned winxp.vc9.manifest...<br />
<br />
there is only a winxp.manifest in the current distribution of sources of wxPython
with this one, i get an error message, when trying to run mt.exe as mentioned in your article:
mt.exe:general error c101008c:Failed to read the manifest from the resource of file "python.exe". Der angegebene Ressourcenname wurde nicht in der Image-Datei gefunden.<br />
<br />
last sentence is german and means "Given resource name was not found in image-file"<br />
<br />
thanks for any help<br />
<br />
Kuhlschrank</body>
		<dc:creator>Kuhlschrank</dc:creator>
		<category>WxPython 2.8 Vista 64 bit crash - workaround found</category>
		<pubDate>Fri, 16 Jan 2009 05:23:44 GMT</pubDate>
	</item>

	<item>
		<title>Gail:I finally resolved the issues I had when trying to ... (291 words to read) </title>
		<link>http://morison.biz/technotes/comments/6</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/6</guid>
		<description>I finally resolved the issues I had when trying to call runner.exe within the Visual Studio 2003 environment using a Post-Build Event. No output would show in the Build window (runner.exe was built using --runner=ParenPrinter).



The problem arose because my runner.exe depends on some external DLLs.  The WINDOWS DLL runtime search order is: the parent directory of the executable, some system directories, and then the directories listed in %PATH%. I did not realize that Visual Studio does NOT use environment variables, like %PATH%, added or modified after VS has been installed!!!! It should be noted however that when running your program in the Debugger from within the IDE, it DOES use updates to the environment in place when the IDE is started. Even if you start devenv.exe from a shell, as opposed to a shortcut, the Post-Build event has no knowledge of changes to your environment that were made after installation. Only the geniuses at Microsoft can explain this behavior.



What this means is that external DLLs that are needed to run your test, and which you added to your PATH variable, are not available when the Post-Build event executes. 



There are 2 solutions. The better option is to add the necessary env vars and update the path in a batch file that calls runner.exe. For example, place the following in a postbuild.cmd file located with your source code and call it in the Post-Build event:



set QTDIR=c:\someplace\qt\WINDOWS
path = %PATH%;%QTDIR%\debug\lib
runner.exe



The other solution is to add an entry to the VS Tools-&gt;Options-&gt;Projects-&gt;C++ Directories dialog when the the &quot;Show Directories for:&quot; dialog says &quot;Executable Files&quot;. To match the above batch script, the entry would be c:\someplace\qt\WINDOWS\debug\lib.



I prefer the former since what is going on visible and explicit instead of being hidden in one of the dozens of dialogs in the IDE.</description>
		<body xmlns="http://www.w3.org/1999/xhtml">I finally resolved the issues I had when trying to call runner.exe within the Visual Studio 2003 environment using a Post-Build Event. No output would show in the Build window (runner.exe was built using --runner=ParenPrinter).<br />
<br />
The problem arose because my runner.exe depends on some external DLLs.  The WINDOWS DLL runtime search order is: the parent directory of the executable, some system directories, and then the directories listed in %PATH%. I did not realize that Visual Studio does NOT use environment variables, like %PATH%, added or modified after VS has been installed!!!! It should be noted however that when running your program in the Debugger from within the IDE, it DOES use updates to the environment in place when the IDE is started. Even if you start devenv.exe from a shell, as opposed to a shortcut, the Post-Build event has no knowledge of changes to your environment that were made after installation. Only the geniuses at Microsoft can explain this behavior.<br />
<br />
What this means is that external DLLs that are needed to run your test, and which you added to your PATH variable, are not available when the Post-Build event executes. <br />
<br />
There are 2 solutions. The better option is to add the necessary env vars and update the path in a batch file that calls runner.exe. For example, place the following in a postbuild.cmd file located with your source code and call it in the Post-Build event:<br />
<br />
set QTDIR=c:\someplace\qt\WINDOWS
path = %PATH%;%QTDIR%\debug\lib
runner.exe<br />
<br />
The other solution is to add an entry to the VS Tools->Options->Projects->C++ Directories dialog when the the "Show Directories for:" dialog says "Executable Files". To match the above batch script, the entry would be c:\someplace\qt\WINDOWS\debug\lib.<br />
<br />
I prefer the former since what is going on visible and explicit instead of being hidden in one of the dozens of dialogs in the IDE.</body>
		<dc:creator>Gail</dc:creator>
		<category>CxxTest setup for the Visual Studio IDE</category>
		<pubDate>Sat, 20 Sep 2008 08:39:20 GMT</pubDate>
	</item>

	<item>
		<title>Kfitch:On a related note, CxxTest has a new home:
http://cxxtest....</title>
		<link>http://morison.biz/technotes/comments/5</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/5</guid>
		<description>On a related note, CxxTest has a new home:
cxxtest.tigris.org



Also, there is a Wiki for CxxTest at:
cxxtest.com



And here is a link to a slightly updated user's guide</description>
		<body xmlns="http://www.w3.org/1999/xhtml">On a related note, CxxTest has a new home:
<a href="http://cxxtest.tigris.org" title="Browse in a new window" class="external" onclick="window.open(this.href); return false;" onkeypress="window.open(this.href); return false;">cxxtest.tigris.org</a><br />
<br />
Also, there is a Wiki for CxxTest at:
<a href="http://cxxtest.com" title="Browse in a new window" class="external" onclick="window.open(this.href); return false;" onkeypress="window.open(this.href); return false;">cxxtest.com</a><br />
<br />
And here is a link to a <a href="http://cxxtest.com/guide.html" title="Browse in a new window" class="external" onclick="window.open(this.href); return false;" onkeypress="window.open(this.href); return false;">slightly updated user's guide</a></body>
		<dc:creator>kfitch</dc:creator>
		<category>CxxTest setup for the Visual Studio IDE</category>
		<pubDate>Tue, 09 Sep 2008 09:54:23 GMT</pubDate>
	</item>

	<item>
		<title>Gail:This article describes exactly what I am trying to do.
... (127 words to read) </title>
		<link>http://morison.biz/technotes/comments/4</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/4</guid>
		<description>This article describes exactly what I am trying to do.
The problem is that in the post-build step, the tests do not appear to run inside VS.NET 2003. Not only that, I cannot get any output from the tests to appear in the IDE output window whether or not the test fails. The pre-build works fine and it generates an executable that works properly when run in a cmd shell - that is the output from the cxxtest suite is shown properly.



I wrote two simple tests one of which fails: TS_FAIL(&quot;ERROR&quot;). 
The other always passes: TS_ASSERT(1 == 1);



My pre-build command is:
cxxtestgen.pl -o MyTest.cpp --runner=ParenPrinter MyTest.h



My post-build command is 3 lines:
echo &quot;Run test&quot;



MyTest.exe



echo &quot;Test Completed&quot;



The echoes work fine. Thank you Microsoft   



If you have any ideas I would be grateful for the help!
Thanks.</description>
		<body xmlns="http://www.w3.org/1999/xhtml">This article describes exactly what I am trying to do.
The problem is that in the post-build step, the tests do not appear to run inside VS.NET 2003. Not only that, I cannot get any output from the tests to appear in the IDE output window whether or not the test fails. The pre-build works fine and it generates an executable that works properly when run in a cmd shell - that is the output from the cxxtest suite is shown properly.<br />
<br />
I wrote two simple tests one of which fails: TS_FAIL("ERROR"). 
The other always passes: TS_ASSERT(1 == 1);<br />
<br />
My pre-build command is:
cxxtestgen.pl -o MyTest.cpp --runner=ParenPrinter MyTest.h<br />
<br />
My post-build command is 3 lines:
echo "Run test"<br />
<br />
MyTest.exe<br />
<br />
echo "Test Completed"<br />
<br />
The echoes work fine. Thank you Microsoft  <img src="http://morison.biz/technotes/skins/images/smileys/angry.gif" alt="" /> <br />
<br />
If you have any ideas I would be grateful for the help!
Thanks.</body>
		<dc:creator>Gail</dc:creator>
		<category>CxxTest setup for the Visual Studio IDE</category>
		<pubDate>Fri, 05 Sep 2008 10:15:11 GMT</pubDate>
	</item>

	<item>
		<title>Testy:Ok, goody</title>
		<link>http://morison.biz/technotes/comments/2</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/2</guid>
		<description>Ok, goody</description>
		<body xmlns="http://www.w3.org/1999/xhtml">Ok, goody</body>
		<dc:creator>testy</dc:creator>
		<category>Test B</category>
		<pubDate>Mon, 03 Sep 2007 02:42:29 GMT</pubDate>
	</item>

	<item>
		<title>Rod:Test B received</title>
		<link>http://morison.biz/technotes/comments/1</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/1</guid>
		<description>Test B received</description>
		<body xmlns="http://www.w3.org/1999/xhtml">Test B received</body>
		<dc:creator>rod</dc:creator>
		<category>Test B</category>
		<pubDate>Mon, 03 Sep 2007 02:38:44 GMT</pubDate>
	</item>

</channel>
</rss>