[erlang-questions] Errors when generating tests for CosNotifications on windows.

Niclas Eklund <>
Tue May 3 15:35:47 CEST 2011


Hello!

As you've probably guessed we don't encounter this problem. ;-) But then 
the test suites are only built once (not a Windows machine) and then 
re-used by different plattforms. Speed things up.

Since there is a 256 chars limit (Windows paths and command line), this 
might be it. I suppose that a faulty setting of one of the Erlang related 
environment variables (e.g. ERL_TOP) could cause problems as well. Perhaps 
you can e-mail them to me?

Due to the fact that CosNotification depends on several other 
Cos-services, more IDL files needs to be included compared with, for 
example, CosTime.

Best Regards,

Niclas @ Erlang/OTP

On Thu, 21 Apr 2011, Fredrik Andersson wrote:

> On Thu, Apr 21, 2011 at 11:04 AM, Alexander Krasnukhin <
> > wrote:
>
>> Hi,
>>
>> It is just a guess and probably sounds stupid but could you try to compile
>> within the folder with smaller path length?
>>
>
> I tried moving the otp folder to / and it had no difference, I can make them
> all compile if I cp the idl files to the test folder of cosNotification but
> that seems to be a suboptimal way of doing things.
>
>
>>
>> On Thu, Apr 21, 2011 at 10:57 AM, Fredrik Andersson <>wrote:
>>
>>> Hi all
>>>
>>> I want to run the test suites on my windows build but I am running into
>>> trouble when generating the tests for CosNotification. I can reproduce the
>>> error by building the tests inside of otp/lib/CosNotification/test using
>>> make tests.
>>>
>>> Can anyone help?
>>>
>>> The following is the error I get. I have verified that the idl files are
>>> present in the src directory.
>>>
>>> erlc +debug_info -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosNotification/ebin -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosNotification/src -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosTime/ebin -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosTime/include -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/orber/ebin -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/ic/ebin -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosNotification/include
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/cosEvent/src
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/cosNotification/include  -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/orber/include -pa
>>> /home/ESLbingen/bingen/tmp/otp/internal_tools/test_server/ebin -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosNotification/ebin -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosNotification/test/idl_output -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosTime/ebin -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosTime/include -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/cosNotification/include -pa
>>> /home/ESLbingen/bingen/tmp/otp/lib/ic/ebin
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/cosTime/ebin
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/cosTime/include
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/orber/include
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/cosNotification/src
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/cosNotification/include
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/cosNotification
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/cosNotification/test/idl_output
>>> -I/home/ESLbingen/bingen/tmp/otp/lib/test_server/include -oidl_output \
>>>                 +'{cfgfile,"notify_test_server.cfg"}'
>>> notify_test_server.idl
>>> []: warning: unrecognised option: debug_info
>>> Erlang IDL compiler version 4.2.26
>>> "c:/cygwin/home/ESLBIN~1/bingen/tmp/otp/lib/COSNOT~1/test/notify_test_server.idl":
>>> preprocessor error:
>>> c:/cygwin/home/ESLBIN~1/bingen/tmp/otp/lib/COSNOT~1/test/notify_test_server.idl:23:
>>> CosNotification.idl: No such file or directory
>>> "c:/cygwin/home/ESLBIN~1/bingen/tmp/otp/lib/COSNOT~1/test/notify_test_server.idl":
>>> preprocessor error:
>>> c:/cygwin/home/ESLBIN~1/bingen/tmp/otp/lib/COSNOT~1/test/notify_test_server.idl:24:
>>> CosNotifyComm.idl: No such file or directory
>>> "c:/cygwin/home/ESLBIN~1/bingen/tmp/otp/lib/COSNOT~1/test/notify_test_server.idl":
>>> 2 errors found
>>>
>>>
>>> _______________________________________________
>>> erlang-questions mailing list
>>> 
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>>
>>
>>
>> --
>> Regards,
>> Alexander
>>
>>
>





More information about the erlang-questions mailing list