Old experiences
Par Fred le lundi 22 août 2011, 15:19 - Développement - Lien permanent
This post is a translation of this post in french, after reading the comment of Charlie5.
Several years ago when I was younger, nicer with a lot more hairs, I brightly passed my last exam for beeing engineer.
13 years later, here I am trying to do the same experiences again as professor Frankenstein would do...
Well, in fact, I don't try to raise the dead or building some kind of zombie out of blood, skin and body parts.
That said, my last sentence is not so far from reality as I'm trying to build a big piece of software with many others talking to each others.
Now it's time to show !! I'm talking about CORBA and more generally about distributed computing.
The only difference with my studies is that, this time, it will be done in Ada... Obviously... And on FreeBSD... Obviously too :D
In fact, I started playing with what I have to do for my job, Web services in Ada with AWS, just to see what kind of overall performance we could get.
Those would already read this french post know that I have been chosen to work with BPEL. This horrible language runs on an enterprise bus[1] and that this kind of architecture mainly run with Java.
Here, began my sick mind to search for something else. How to build an ESB in Ada ?
To make Web services talking, easy, we just need AWS but what about the bus ?
In fact, it's also very easy as one tool seems to be the good candidate. We need PolyORB.
Ok, let's have a look at the FreeBSD ports, we can find a brand new shiny Ada compiler offered by Mr Marino and his team but no PolyORB at all. There's no matter, I'm a computer engineer after all !!!!
Go !! I download the latest version and begin to compile :
fred@coruscant:~/Dev/Ada/PolyORB/polyorb-gpl-2011-src>./configure \ --with-appli-perso="corba moma dsa" \ --with-proto-perso="giop soap" \ --with-corba-services="event naming ir notification time" fred@coruscant:~/Dev/Ada/PolyORB/polyorb-gpl-2011-src>gmake
Then, it's compiling for a while before crashing miserably with a beautyful :
PCS version mismatch: expander 4, PCS (polyorb_dsa) 5 compilation abandoned PCS version mismatch: expander 4, PCS (polyorb_dsa) 5 s-parint.adb:764:39: run-time configuration error compilation abandoned s-parint.adb:764:39: entity "System.Partition_Interface.Ta_I" not defined gnatmake: "/home/fred/Dev/Ada/PolyORB/polyorb-gpl-2011-src/src/dsa/polyorb-dsa_p-storages-dsm.adb" compilation error gnatmake: "/home/fred/Dev/Ada/PolyORB/polyorb-gpl-2011-src/src/dsa/s-shasto.adb" compilation error gnatmake: "/home/fred/Dev/Ada/PolyORB/polyorb-gpl-2011-src/src/dsa/s-parint.adb" compilation error gmake: *** [polyorb_src_dsa.gpr] Erreur 4
Ok, FYI, untaught people, DSA is distributed computing for Ada. One advantage, it's defined in the standard and it's lighter than plain old CORBA code.
Off course, as I'm sometimes a code warrior[2], I don't read the whole message and say to myself :
Stupid guy, get the latest, bleeding edge version !!
First, I often talk to me as stupid. Second, more interesting, Subversion repository URL is present on the PolyORB page. Let's go :
fred@coruscant:~/Dev/Ada/PolyORB/>svn co http://svn.eu.adacore.com/anonsvn/Dev/trunk/polyorb
Imagine how I felt when I saw once again the error message !!!
After crying a lot, I read the message again and found it finally very clear[3]
PCS version mismatch: expander 4, PCS (polyorb_dsa) 5
Well, well, some pieces won't talk to each other ? Ok, it seems that PolyORB version is 5 and the other one 4.
I found that my Ada compiler is too old
compared to middleware. No problem ! I have an access to a Subversion repository, no ? The question is What to checkout
?" and the anwser is The PolyORB version from the same time than my compiler
[4].
fred@coruscant:~/Dev/Ada/PolyORB/>svn co -r \{15042011\} http://svn.eu.adacore.com/anonsvn/Dev/trunk/polyorb
Yahooooooo !!! It's now compiling and installing correctly !
Thanks to my contributor Charlie5, I finally know that I can fetch up to the 170161 revision.
So now, you would ask :
And then ?
Well, then, for the moment, I just played with CORBA and DSA examples.
So, this post is only useful for compiling PolyORB on FreeBSD with the current version[5] of gnat-aux... Sorry for disturbing :D
As english people would[6] say more to come later !
Commentaires
I was curious if you еѵeг thought of changing tһе layout
of ʏⲟur blog? Its vеry ԝell ԝritten; I love what youve ցot tto ѕay.
But maʏbe youu could a littⅼe moгe in the wɑy
of content so people coᥙld connect ѡith іt better.
Youve got ɑn awful lоt оff texdt fⲟr only having one or twoo pictures.
Maybe уoᥙ cⲟuld space іt outt bettеr?
Andrase says:
7 April, 2021 at 6:47 pm
The first jab (shot), I wondering on that previously a lot, how its change a behaviour. I got (Hungary/Europe) a few days ago the Russian SPUTNIK V first jab, and i start to be extreme cautious, about ‘not getting’ the Covid before the 2nd dose (3 week) not done + 2 week. And i see the same in most people, they ‘fear’ about getting the Covid before the immune protection build-up time, something like ‘not break-down in the finish line’…
p.s: Sputnik side effects was as its expected: 46+ year old male, after the jab (morning time), approx 10-12 hour: 37.5C (99.5F), after that by 2 hour: 38.3C (101F) + cold shivers. Next morning 37.3C (99.1F), and its go down nicely, some general fatigue for the most of the day. Nothing serious.
p.s.: may in the news the Sputnik mentioned as storage temperature is ‘fridge temperature’, however, in the reality they produce only the -18Celsius version.
p.s: 2nd doses period in here: Pfizer: 5week (and not 3), Moderna: 4w, Astra: 12w (pretty much the maximum), Sputnik: 3w, Sinopharm: 4w
Reply
work towards. You have completed a formidable workk and our complete
nighborhood is going to be grateful to you.