473,614 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CORBA: Fnorb Problems

Hi,

I have installed Fnorb and everything seems to have gone ok. However I
keep getting the error message below. This is despite the fact that the
MS CL c++ preprocessor seems to be in PATH. I can type "cl" and
although I get nothing back in the DOS window, there is also no error
message.

Traceback (most recent call last):
File "C:\Python24\Li b\site-packages\Fnorb\ script\cpp.py", line 53, in
-toplevel-
raise "No C/C++ pre-processor found in your PATH!"
No C/C++ pre-processor found in your PATH!

On seeing what information is returned the variables which are
searching for the presence of CL in PATH come back with nothing.

System: Windows XP, Python 2.4, Most recent version of Fnorb 1.3.

Any pointers are welcome. Thanks in advance.
Best,

rod

Nov 13 '06 #1
6 1603
rodmc wrote:
Hi,

I have installed Fnorb and everything seems to have gone ok. However I
keep getting the error message below. This is despite the fact that the
MS CL c++ preprocessor seems to be in PATH. I can type "cl" and
although I get nothing back in the DOS window, there is also no error
message.

Traceback (most recent call last):
File "C:\Python24\Li b\site-packages\Fnorb\ script\cpp.py", line 53, in
-toplevel-
raise "No C/C++ pre-processor found in your PATH!"
No C/C++ pre-processor found in your PATH!

On seeing what information is returned the variables which are
searching for the presence of CL in PATH come back with nothing.

System: Windows XP, Python 2.4, Most recent version of Fnorb 1.3.

Any pointers are welcome. Thanks in advance.
I used omniorb, and have been very satisfied with it. You might consider
switching.

Diez
Nov 13 '06 #2
>
I used omniorb, and have been very satisfied with it. You might consider
switching.

Diez
Thanks, I have just downloaded that plus omniORBpy as well. I have the
binary version of omniORB but need to build omniORBpy, from what I can
see the build process is aimed at GCC and not VC++. Anyway I will try
to figure it out.

Best,

rod

Nov 13 '06 #3
On Mon, 13 Nov 2006 16:16:37 +0100, rodmc <us************ ***@yahoo.co.uk >
wrote:
Hi,

I have installed Fnorb and everything seems to have gone ok. However I
keep getting the error message below. This is despite the fact that the
MS CL c++ preprocessor seems to be in PATH. I can type "cl" and
although I get nothing back in the DOS window, there is also no error
message.

Traceback (most recent call last):
File "C:\Python24\Li b\site-packages\Fnorb\ script\cpp.py", line 53, in
-toplevel-
raise "No C/C++ pre-processor found in your PATH!"
No C/C++ pre-processor found in your PATH!
You don't say *when* this error occurs, i.e. what is the command that
returns the exception. Assuming it's when you try to compile an IDL file
with fnidl, just try:
fnidl --internal-cpp ...

HTH
--
python -c "print ''.join([chr(154 - ord(c)) for c in
'U(17zX(%,5.zmz 5(17l8(%,5.Z*(9 3-965$l7+-'])"
Nov 13 '06 #4
Traceback (most recent call last):
File "C:\Python24\Li b\site-packages\Fnorb\ script\cpp.py", line 53, in
-toplevel-
raise "No C/C++ pre-processor found in your PATH!"
No C/C++ pre-processor found in your PATH!

You don't say *when* this error occurs, i.e. what is the command that
returns the exception. Assuming it's when you try to compile an IDL file
with fnidl, just try:
fnidl --internal-cpp ...
Sorry you are right I did not say, but you guessed correctly. However
even when I try your advice I still receive the same error.

Best,

rod

Nov 14 '06 #5
On Tue, 14 Nov 2006 13:13:42 +0100, rodmc <us************ ***@yahoo.co.uk
wrote:
>
Traceback (most recent call last):
File "C:\Python24\Li b\site-packages\Fnorb\ script\cpp.py", line 53,
in
-toplevel-
raise "No C/C++ pre-processor found in your PATH!"
No C/C++ pre-processor found in your PATH!

You don't say *when* this error occurs, i.e. what is the command that
returns the exception. Assuming it's when you try to compile an IDL file
with fnidl, just try:
fnidl --internal-cpp ...

Sorry you are right I did not say, but you guessed correctly. However
even when I try your advice I still receive the same error.
I took a look at the Fnorb sources and it appears you're right: even if
the --internal-cpp flag is used, fnidl still tests if the MS compiler
exists and breaks if it can't be called or if it doesn't return what fnidl
expects. The actual test is whether the cl output contains the string
"/link", whatever the character case. So as you said in your original post
that cl can be run, but doesn't print anything, this seems to be the
problem.

What you can do is the following: go to Fnorb's source directory and edit
scripts/cpp.py; on line 53, replace the "raise ..." by:
COMMAND = None
with the same indent.

Then run fnidl again with the --internal-cpp flag. This should work and
produce the expected files.

Note that this is a dirty hack: if you forget to specify the
--internal-cpp flag, you'll get a nasty traceback. But it should work in
your case.

HTH
--
python -c "print ''.join([chr(154 - ord(c)) for c in
'U(17zX(%,5.zmz 5(17l8(%,5.Z*(9 3-965$l7+-'])"
Nov 14 '06 #6
Thanks the fix you provided me with workds perfectly.

Best,

rod

Nov 15 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5534
by: csafd | last post by:
hi everyone, can anyone help me here, I want to know which communication technology is good for my system(which of course is being implemented as a distributed system). The technologies which I need to compare are: 1. Java Message Service (JMS) 2. CORBA (using Java) 3. SOAP (using Java)
3
2888
by: John | last post by:
I am looking at solutions for creating distributed objects. I am interested in comparing Python + CORBA (Fnorb, OmniORBPy etc) vs EJB. Could any of you who have used both contrast them for me? At the first pass, OmniORBPy actually seemed easier than EJB but EJB development is far better supported in tools and thus could potentially be easier. Both can interop one way or other with all of my clients. I am looking for development insights...
1
2339
by: Akhilesh S. Shirbhate | last post by:
Sorry for reposting, but please help me... I desperately need help. I wrote a small CORBA program and am using ORBit-python. The IDL file was as below: --------------------------- module MESSAGING { typedef sequence<string> msgLines; struct msg {
1
8099
by: Bob Smith | last post by:
Hello all, I am having a very difficult time getting something to work. This involves CORBA, hopefully someone here will be able to answer it, and if not maybe someone can point me in the right direction to where I can get it answered. Using ACE/TAO.... Redhat 7.3 using Kdevelop. OK really I just want to copy a CORBA octet sequence to and array where I can get a pointer to point to it. The first 0-3 octets in the sequence are stored in...
0
2028
by: Craig Rodrigues | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.object.corba.tao This is a formal Request For Discussion (RFD) to create comp.object.corba.tao as an unmoderated world-wide Usenet newsgroup dedicated to the discussion of The ACE ORB (TAO). This is not a Call for Votes (CFV); you cannot vote at this time. Procedural details appear below. All followup discussion should be crossposted to news.groups.
30
1972
by: Kong Bhat | last post by:
With XML becoming the de facto data description standard, I am extremely surprised that there is no movement towards standardizing an xml library API for use with C and C++. Personally I have been working with libxml2 (www.gnome.org) for a while now, and I am quite comfortable with it. I believe that libxml2 is a good start, but I think a slimmer version of libxml2 should be standardized. Any thoughts?
2
3662
by: Krzysztof Opa³a | last post by:
Hi I've got my CORBA application written in Borland C++ Builder, using Visibroker. What I wanna do is get from server a set of strings (the number of string is not constant). I was trying to do it with sequence but got some problems. Here is the method i IDL: long get_clerks_list (out workerseq loginnames); where long is number of strings in loginnames and
0
9210
by: none | last post by:
I have followed http://java.sun.com/j2se/1.4.2/docs/guide/idl/GShome.html to build a corba application. When i run the orb, server and client on the same machine it works fine. When i follow this guide http://java.sun.com/j2se/1.4.2/docs/guide/idl/tutorial/jidl2machines.html to run the orb and server on one machine and the client on another machine it doesn't work.
6
1705
by: rodmc | last post by:
Can anyone recommend an easy to install COBRA implementation which works with Python? I am using Windows XP. Thanks in advance. Best, rod
0
8197
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8142
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8589
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8443
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7114
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6093
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5548
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4058
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2573
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.