Hi,

in the case you installed MICO from the OS packages, then you need to configure MICO runtime by running either

. <mico installation prefix>/lib/mico-setup.sh

or

source <mico installation prefix>/lib/mico-setup.csh

depending on what shell do you use. Anyway, I'm not sure if <mico installation prefix> should be /usr/local/mico in your case. I don't have FBSD installation here.

Cheers,
Karel

On Thu, 12 Oct 2006, KAYVEN RIESE wrote:

ooooh.. i needed to configure right, huh?

i don't think i did anything {:}  heh

is it README in /usr/local/mico ?

oh wait..

u know what i did was

pkg_add -r mico

that's all.  freeBSD is real kewl that way.  maybe i should
build all my demos in /usr/local/mico/demo/(etc?)

dr. puder was always like cautionary about that, but it
seems safe to me since it is all like subdirectories.

On Thu, 12 Oct 2006, Karel Gardas wrote:


Hi,

how exactly have you configured MICO before building? I'm especially curious if your build failed before completion or if you manually disabled either name service (--disable-naming) or all coss (--disable-coss) to save some building time...

Anyway, you do have -I../../../include in your CXXFLAGS and it is used so it should work well...

Cheers,
Karel
--
Karel Gardas                  [EMAIL PROTECTED]
ObjectSecurity Ltd.           http://www.objectsecurity.com
---
Need experienced, fast, reliable technical MICO support?
---> http://www.objectsecurity.com/mico_commsup_referral.html <---
---

On Tue, 10 Oct 2006, KAYVEN RIESE wrote:



On Tue, 10 Oct 2006, KAYVEN  RIESE wrote:


-o client
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c server
.cc -o server.o
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -L../../../ libs tree.o tree_impl.o server.o -lmico2.3.12 -lcompat -lssl -lcrypto -lm -lp
thread  -o server
gmake[2]: Leaving directory `/usr/local/mico/demo/obv/tree'
gmake[2]: Entering directory `/usr/local/mico/demo/obv/tricky'
echo '# Module dependencies' > .depend
/usr/local/mico/./admin/mkdepend -I. -I../../../include -O2 -Wall -D_REENTRANT
-D_THREAD_SAFE   *.c *.cc >> .depend
/usr/local/mico/./idl/idl tricky.idl
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c tricky
.cc -o tricky.o
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c tricky
_impl.cc -o tricky_impl.o
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c client
.cc -o client.o
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -L../../../ libs tricky.o tricky_impl.o client.o -lmico2.3.12 -lcompat -lssl -lcrypto -lm
-lpthread  -o client
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c server
.cc -o server.o
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -L../../../ libs tricky.o tricky_impl.o server.o -lmico2.3.12 -lcompat -lssl -lcrypto -lm
-lpthread  -o server
gmake[2]: Leaving directory `/usr/local/mico/demo/obv/tricky'
gmake[1]: Leaving directory `/usr/local/mico/demo/obv'
gmake[1]: Entering directory `/usr/local/mico/demo/services'
Makefile:52: warning: overriding commands for target `install'
../MakeVars:76: warning: ignoring old commands for target `install'
for i in naming naming-lb naming-mt events property-daemon; do gmake -C $i || e
xit 1; done
gmake[2]: Entering directory `/usr/local/mico/demo/services/naming'
echo '# Module dependencies' > .depend
/usr/local/mico/./admin/mkdepend -I. -I../../../include -O2 -Wall -D_REENTRANT
-D_THREAD_SAFE   *.c *.cc >> .depend
/usr/local/mico/./idl/idl account.idl
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c accou
nt.cc -o account.o
c++ -I. -I../../../include -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c clien
t.cc -o client.o
client.cc:2:28: coss/CosNaming.h: No such file or directory
client.cc: In function `int main(int, char**)':
client.cc:27: error: `CosNaming' has not been declared
client.cc:27: error: `NamingContext_var' undeclared (first use this function) client.cc:27: error: (Each undeclared identifier is reported only once for each
function it appears in.)
client.cc:27: error: expected `;' before "nc"
client.cc:30: error: `nc' undeclared (first use this function)
client.cc:39: error: `CosNaming' has not been declared
client.cc:39: error: `Name' undeclared (first use this function)
client.cc:39: error: expected `;' before "name"
client.cc:40: error: `name' undeclared (first use this function)
client.cc:56: error: `CosNaming' has not been declared
client.cc:56: error: `NotFound' has not been declared
client.cc:56: error: invalid catch parameter
client.cc:60: error: `CosNaming' has not been declared
client.cc:60: error: `CannotProceed' has not been declared
client.cc:60: error: invalid catch parameter
client.cc:64: error: `CosNaming' has not been declared
client.cc:64: error: `InvalidName' has not been declared
client.cc:64: error: invalid catch parameter
client.cc:56: error: `...' handler must be the last handler for its try block client.cc:60: error: `...' handler must be the last handler for its try block
gmake[2]: *** [client.o] Error 1
gmake[2]: Leaving directory `/usr/local/mico/demo/services/naming'
gmake[1]: *** [subs] Error 1
gmake[1]: Leaving directory `/usr/local/mico/demo/services'
gmake: *** [prg] Error 1
bsd# pwd
/usr/local/mico/demo
bsd#


_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel




--
Karel Gardas                  [EMAIL PROTECTED]
ObjectSecurity Ltd.           http://www.objectsecurity.com
_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to