On Thu, 12 Oct 2006, KAYVEN RIESE wrote:



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...

is there like a dmesg dingy to check what happened?

It all depends if you have installed MICO from packages or if you configured/built it yourself. In the later case you might review MakeVars file and config.status and config.log files. The first one is the most easy way though.

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

well.. i followed some directions that said cp -r INSTALLDIR/mico/demo/(dingy) /~

umm.. but that turned out to be silly for all the makes because
they all included stuff in INSTALLDIR/mico by doing a dingy
sort of like u did above ../../../MakeVars or whatever.

i went in and edited that by hand to be like /usr/local/mico/MakeVars

and they sort of werked.  (INSTALLDIR i figgered was /usr/local/mico

[::command line clip prompt ">" ::]
whereis mico
mico: /usr/ports/devel/mico

[::end clip::] )

but they only sorta werked.. ummmski...

I'm sorry, but I don't understand.

oops.. i thought this werked last night

cd poa
pwd
/home/kayve/demo/poa
ls
Makefile        README          account-2       hello-1         inherit
Makefile.win32  account-1       account-3       hello-2

gamek: Command not found.
gmake run
for i in hello-1 hello-2 inherit account-1 account-2 account-3; do gmake -C $i run || exit 1; done
gmake[1]: Entering directory `/home/kayve/demo/poa/hello-1'
hello
Running.
Hello World
gmake[1]: Leaving directory `/home/kayve/demo/poa/hello-1'
gmake[1]: Entering directory `/home/kayve/demo/poa/hello-2'
hello
Running.
Hello World
gmake[1]: Leaving directory `/home/kayve/demo/poa/hello-2'
gmake[1]: Entering directory `/home/kayve/demo/poa/inherit'
inherit
Running.
BaseOp (inheritance based)
BaseOp (tie based)
BaseOp (inheritance based)
BaseOp in derived interface (inheritance based)
BaseOp (tie based)
BaseOp in derived interface (tie based)
DerivedOp (inheritance based, impl inheritance)
DerivedOp (inheritance based)
DerivedOp (tie based, impl inheritance)
DerivedOp (tie based)
gmake[1]: Leaving directory `/home/kayve/demo/poa/inherit'
gmake[1]: Entering directory `/home/kayve/demo/poa/account-1'
account
Running.
Balance is 250
gmake[1]: Leaving directory `/home/kayve/demo/poa/account-1'
gmake[1]: Entering directory `/home/kayve/demo/poa/account-2'
/usr/local/mico/Makefile:23: MakeVars: No such file or directory
Makefile:25: warning: overriding commands for target `clean'
/usr/local/mico/Makefile:51: warning: ignoring old commands for target `clean'
gmake[1]: *** No rule to make target `MakeVars'.  Stop.
gmake[1]: Leaving directory `/home/kayve/demo/poa/account-2'
gmake: *** [run] Error 1
pwd
/home/kayve/demo/poa


that was sorta interesting i guess. dr. puders book is at
the post office already!  i will go get it tommorrow morning!

okay.. i know u don't like me compiling as root, but
i can't write to anything above ~/ otherwise and otherwise
it fails..

so...

cd /usr/local/mico/demo
su
Password:
bsd#

bsd# cd poa
bsd# pwd
/usr/local/mico/demo/poa
bsd# ls
Makefile        README          account-2       hello-1         inherit
Makefile.win32  account-1       account-3       hello-2
bsd# gmake
Makefile:19: warning: overriding commands for target `install'
../MakeVars:76: warning: ignoring old commands for target `install'
for i in hello-1 hello-2 inherit account-1 account-2 account-3; do gmake -C $i || exit 1; done
gmake[1]: Entering directory `/usr/local/mico/demo/poa/hello-1'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/mico/demo/poa/hello-1'
gmake[1]: Entering directory `/usr/local/mico/demo/poa/hello-2'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/mico/demo/poa/hello-2'
gmake[1]: Entering directory `/usr/local/mico/demo/poa/inherit'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/mico/demo/poa/inherit'
gmake[1]: Entering directory `/usr/local/mico/demo/poa/account-1'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/mico/demo/poa/account-1'
gmake[1]: Entering directory `/usr/local/mico/demo/poa/account-2'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/mico/demo/poa/account-2'
gmake[1]: Entering directory `/usr/local/mico/demo/poa/account-3'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/mico/demo/poa/account-3'
bsd#

       for i in $(DIRS); do $(MAKE) -C $$i install || exit 1; done
bsd# make install
       ^^^^

First of all, if your MICO is already installed and you compile demo from the installation, then you don't need to install it again. Second, please remember to use ``gmake''!

Cheers,
Karel

"../../MakeVars", line 142: Missing dependency operator
"../../MakeVars", line 150: Need an operator
"../../MakeVars", line 153: Need an operator
"../../MakeVars", line 155: Missing dependency operator
"../../MakeVars", line 158: Need an operator
"../../MakeVars", line 161: Need an operator
"../../MakeVars", line 169: Missing dependency operator
"../../MakeVars", line 170: Missing dependency operator
"../../MakeVars", line 178: Need an operator
"../../MakeVars", line 179: Need an operator
"../../MakeVars", line 207: warning: duplicate script for target "%.cc" ignored "../../MakeVars", line 208: warning: duplicate script for target "%.cc" ignored "../../MakeVars", line 238: warning: duplicate script for target "%.ps" ignored "../../MakeVars", line 244: warning: duplicate script for target "%.moc" ignored
"../MakeVars", line 43: Missing dependency operator
"../MakeVars", line 45: Need an operator
"../MakeVars", line 47: Need an operator
"../MakeVars", line 51: Missing dependency operator
"../MakeVars", line 53: Need an operator
"../MakeVars", line 55: Need an operator
"../MakeVars", line 60: Missing dependency operator
"../MakeVars", line 62: Need an operator
"../MakeVars", line 64: Need an operator
"../MakeVars", line 69: Missing dependency operator
"../MakeVars", line 71: Need an operator
"../MakeVars", line 73: Need an operator
"../MakeVars", line 86: Missing dependency operator
"../MakeVars", line 87: Could not find .depend
"../MakeVars", line 88: Need an operator
"Makefile", line 19: warning: duplicate script for target "install" ignored
"Makefile", line 20: warning: duplicate script for target "install" ignored
"Makefile", line 21: warning: duplicate script for target "install" ignored
"Makefile", line 22: warning: duplicate script for target "install" ignored
make: fatal errors encountered -- cannot continue
bsd#


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
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel




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

Reply via email to