Monday, March 29, 2010

endless mapguide configuration mess

the most tricky are the relative paths to Resources and Temp directory in the webconfig.ini
they just dont work!
So please use full paths for

ResourcesPath =C:\Program Files\OSGeo\MapGuide\Web\www\mapagent\Resources
TempPath =C:\Program Files\OSGeo\MapGuide\Web\Temp\

Wednesday, February 24, 2010

Installing Eventmachine in Ruby1.9.1 on win32

out of the box the eventmachine installation breaks with:

libcrypto.a(rand_win.o):rand_win.c:(.text+0xa0c): undefined reference to `_CreateDCA@16
....... and more link errors like this.......

The missing functions are part of the library gdi32.lib.

This is due an ordering error of the libraries in the Makefile created by extconfig.rb
#106:
LIBS = $(LIBRUBYARG_SHARED) -lgdi32 -lrpcrt4 -lkernel32 -lssl -lcrypto -lgdi32 -lshell32 -lws2_32

libgdi32.a is needed after libcrypto.a !!!

so adding a reference to libgdi32.a in my site config file in i386-mingw/rbconfig.rb

#131: CONFIG["LIBS"] = "-lgdi32 -lshell32 -lws2_32 "

sorts it all out and I can build the thing!

Thursday, January 14, 2010

UPnP media player network connection fails

to use a network media player (e.g. D-LINK DSM510)
network discovery in windows needs to be enabled.


vmware network adapter is created by default as a public network

thus on each reboot VISTA disables the network discovery because it finds a public public network adapter

the private/public status of the vmware network adapter cannot be changed via Network and Sharing Center in Vista

how to change it:
enable network discovery below and confirm changing public of vmware network to private

so far no way to make this permanent without disabling the vmware network