Re: Prima fails to start (cygwin,windows XP)

From: Dmitry Karasik <dmitry_at_karasik.eu.org>
Date: 26 Aug 2007 20:34:20 +0200
To: prima_at_prima.eu.org

        Hi Jim!

I don't know what kind of problem might be there, but I
suspect prigraph.dll or some other dependency is not in the $PATH.
If you've built Prima from sources, try compiling and running
this simple hack:

extern long apc_show_message( const char* message, long utf8);

int main( int argc, char ** argv)
{
        apc_show_message("Hello, world!", 0);
}

compile it as "cl test.c Prima.lib" with MSVC or "gcc test.c -lPrima -L."
with cygwin, and put Prima.dll near it. In case there are unresolved
dependencies it will show what exactly is missing.

HTH,
        /dk

On 25 Aug 07 at 22:33, "Jim" (Jim Salisbury) wrote:

 Jim> Have downloaded/installed Prima, but when I try an example I get the
 Jim> following error (from perl -d matrix.bat): --- Can't load
 Jim> 'c:/Perl/site/lib/auto/Prima/Prima.dll' for module Prima:
 Jim> load_file:The specified module could not be found at
 Jim> c:/Perl/lib/DynaLoader.pm line 230. at matrix.bat line 56
 Jim> Compilation failed in require at matrix.bat line 56. at matrix.bat
 Jim> line 56 main::BEGIN() called at c:/Perl/site/lib/Prima.pm line 56
 Jim> eval {...} called at c:/Perl/site/lib/Prima.pm line 56 BEGIN
 Jim> failed--compilation aborted at matrix.bat line 56. at matrix.bat
 Jim> line 5 ---

 Jim> I have followed all the advice on the locations of all the documented
 Jim> libraries in the PATH, and have triple checked everything, but am
 Jim> still stuck. (This includes prigraph.dll.)

 Jim> Have been using cygwin & Activeperl extensively for years with lots
 Jim> of other packages so I know my environment is pretty much sane.

 Jim> Here are the versions I am running: --- Prima Version:
 Jim> Prima-1.22-cygwin-588 Cygwin Version: 1.5.24-2 Active Perl Version:
 Jim> 5.88-819

 Jim> Would be indebted for any advice on how to proceed next.

 Jim> thanks for any help, jim salisbury

-- 
Sincerely,
	Dmitry Karasik
Received on Mon 27 Aug 2007 - 22:42:14 CEST

This archive was generated by hypermail 2.2.0 : Wed 27 Mar 2013 - 10:40:22 CET