o i am on a sun workstation:
SunOS hyde 5.10 Generic_118833-02 sun4u sparc SUNW,Sun-Blade-1000
o i had a compile error in mpiblast_config.cpp
it could not find a definition for mkdtemp in line 287
o a grep in the src directory did not turn up a definition for mkdtemp
o man mkdtemp was not defined - man mktemp was - but it says it creates
a file, not a directory
o i changed the code to use mktemp instead - anyway
281 void MpiBlastConfig::createLocalTempDir()
282 {
283 string tmpdir_basename = local_db_path +
TempDirBaseName() + "XXXXXX";
284 char* tmpdirname = new char[ tmpdir_basename.length() + 1 ];
285 strncpy( tmpdirname, tmpdir_basename.c_str(),
tmpdir_basename.length() + 1 );
286 #ifndef WIN32
287 // char* success = mkdtemp( tmpdirname );
288 char* success = mktemp( tmpdirname );
289 #else
290 char* success = mktemp( tmpdirname );
291 // windows doesn't actually create the directory...
292 if( success != NULL )
293 checkCreateDir( tmpdirname );
294 #endif
o the make finished
o i am a java programmer & my c/c++ skills have left me - what is the
correct fix for this?
thanks-
david
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mpiblast-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mpiblast-users