List Info

Thread: netgen execution problem




netgen execution problem
country flaguser name
United States
2008-04-21 13:02:33
Dear gang:

I'm trying to use netgen on a powerpc G5 with Darwin
10.4.11.  I used  
to be able to use it just fine, but now I can't.  If I
simply install  
the netgen executable from fink using "fink install
netgen", when I  
try to run the program, it returns:

kham:/sw/src rbk$ dyld: Library not loaded:
/sw/lib/libtix8.1.8.4.dylib
   Referenced from: /sw/bin/ng
   Reason: image not found

[1]+  Trace/BPT trap          ng



It's quite true, there is no such library in /sw/lib, so
where can I  
get that?  I tried installing tix, but it doesn't seem to
provide the  
relevant library.  Alternatively, if I try "fink
install netgen- 
source", I get a huge stream of compile errors,
culminating in:

make: *** [togl/togl.o] Error 1
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-netgen-4.4-11
(Reading database ... 76676 files and directories currently
installed.)
Removing fink-buildlock-netgen-4.4-11 ...
Failed: phase compiling: netgen-4.4-11 failed



Can anyone help?


Thanks,
Becks



------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference 
Don't miss this year's exciting event. There's still time to
save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

Re: netgen execution problem
country flaguser name
United States
2008-04-21 16:14:51
Well, it seems that I don't have tix at all, and can't get
it.  I  
just posted the error message I get from dselect tix. 
Here's the  
first error that I catch from "fink update
netgen"

/var/tmp/tmp.1.mjNptU
#!/bin/sh -ev
  sed -e 's|CPLUSPLUSFLAGS2.*|CPLUSPLUSFLAGS2 = -g -O2
-I/usr/X11R6/ 
include -I/sw/include -DDARWIN -DOPENGL -DNGSOLVE|g' 
      -e 's|LINKFLAGS2.*|LINKFLAGS2 = -lstdc++
-L/usr/X11R6/lib -L/sw/ 
lib -framework OpenGL -framework Accelerate|g ' 
      -e 's|^CPLUSPLUS=.*|CPLUSPLUS=$(CXX)|g' 
      -e 's|^LINK=.*|LINK=$(CXX)|g' 
         libsrc/makefile.mach.LINUX >
libsrc/makefile.mach.DARWIN
  echo >> libsrc/makefile.mach.DARWIN <<EOF
MACHINE
*error: This program must be named either arch or machine
  perl -pi.bak -e 's|.*(extern.*matherr.*)|$1|g'
ngtcltk/ngappinit.cpp
make MACHINE=DARWIN



------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference 
Don't miss this year's exciting event. There's still time to
save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

Re: netgen execution problem
country flaguser name
United States
2008-04-21 16:02:48
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rebecca Bendick wrote:
| Dear gang:
|
| I'm trying to use netgen on a powerpc G5 with Darwin
10.4.11.  I used  
| to be able to use it just fine, but now I can't.  If I
simply install  
| the netgen executable from fink using "fink install
netgen", when I  
| try to run the program, it returns:
|
| kham:/sw/src rbk$ dyld: Library not loaded:
/sw/lib/libtix8.1.8.4.dylib
|    Referenced from: /sw/bin/ng
|    Reason: image not found
|
| [1]+  Trace/BPT trap          ng
|
|
|
| It's quite true, there is no such library in /sw/lib, so
where can I  
| get that?  I tried installing tix, but it doesn't seem to
provide the  
| relevant library.  
If you had a working netgen at one point, then it sounds
like netgen 
should have been updated at the same time as tix was to
force a 
rebuild.  So you'd need to rebuild netgen, since the newer
tix does 
indeed have a different library.

| Alternatively, if I try "fink install netgen-
| source", I get a huge stream of compile errors
Can you show the beginning of that stream, starting with the
last line 
the compiler tried to run, and then a few lines of the
errors?  What 
you've shown would be the results of _any_ failure to build
togl/togl.o

| , culminating in:
|
| make: *** [togl/togl.o] Error 1
| ### execution of make failed, exit code 2
| Removing runtime build-lock...
| Removing build-lock package...
| /sw/bin/dpkg-lockwait -r fink-buildlock-netgen-4.4-11
| (Reading database ... 76676 files and directories
currently installed.)
| Removing fink-buildlock-netgen-4.4-11 ...
| Failed: phase compiling: netgen-4.4-11 failed
|
|
|
| Can anyone help?
|
|
| Thanks,
| Becks
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iEYEARECAAYFAkgNAPgACgkQB8UpO3rKjQ9nGQCdG0si2UMlNBp0RqcDMKr7
EDyT
dJgAnid1KItJ7OUOyQP8Xz84he5onwWi
=vM66
-----END PGP SIGNATURE-----


------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference 
Don't miss this year's exciting event. There's still time to
save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

Re: netgen execution problem
country flaguser name
United States
2008-04-21 16:16:23
Then I get a huge, rapidly streaming set of errors like
these:

togl/togl.cpp:2578: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp:2578: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp:2579: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp: In function `void Togl_HideOverlay(Togl*)':
togl/togl.cpp:2588: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp:2588: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp:2589: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp:2589: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp:2590: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp: In function `void
Togl_PostOverlayRedisplay(Togl*)':
togl/togl.cpp:2599: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp:2599: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp:2599: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp:2601: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'
togl/togl.cpp: In function `int Togl_ExistsOverlay(const
Togl*)':
togl/togl.cpp:2614: error: invalid use of undefined type
`const  
struct Togl'
togl/togl.h:152: error: forward declaration of `const struct
Togl'
togl/togl.cpp: In function `int
Togl_GetOverlayTransparentValue(const  
Togl*)':
togl/togl.cpp:2620: error: invalid use of undefined type
`const  
struct Togl'
togl/togl.h:152: error: forward declaration of `const struct
Togl'
togl/togl.cpp: In function `int Togl_IsMappedOverlay(const
Togl*)':
make: *** [togl/togl.o] Error 1
### execution of make failed, exit code 2


------------------------------------------------------------
---
Rebecca Bendick
SC 331
Department of Geosciences
University of Montana
Missoula, MT 59812
(406) 243-5774

bendickmso.umt.edu




------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference 
Don't miss this year's exciting event. There's still time to
save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

Re: netgen execution problem
country flaguser name
United States
2008-04-21 16:18:38
Rebecca Bendick wrote:
> Well, it seems that I don't have tix at all, and can't
get it.  I just 
> posted the error message I get from dselect tix.
There's no binary for it. 
> Here's the first error that I catch from "fink
update netgen"
>
> /var/tmp/tmp.1.mjNptU
> #!/bin/sh -ev
>  sed -e 's|CPLUSPLUSFLAGS2.*|CPLUSPLUSFLAGS2 = -g -O2 
> -I/usr/X11R6/include -I/sw/include -DDARWIN -DOPENGL
-DNGSOLVE|g' 
>      -e 's|LINKFLAGS2.*|LINKFLAGS2 = -lstdc++
-L/usr/X11R6/lib 
> -L/sw/lib -framework OpenGL -framework Accelerate|g '

>      -e 's|^CPLUSPLUS=.*|CPLUSPLUS=$(CXX)|g' 
>      -e 's|^LINK=.*|LINK=$(CXX)|g' 
>         libsrc/makefile.mach.LINUX >
libsrc/makefile.mach.DARWIN
>  echo >> libsrc/makefile.mach.DARWIN <<EOF
> MACHINE
> *error: This program must be named either arch or
machine
>  perl -pi.bak -e 's|.*(extern.*matherr.*)|$1|g'
ngtcltk/ngappinit.cpp
> make MACHINE=DARWIN
>
>
So it proceeds directly into

togl/togl.cpp:2578: error: invalid use of undefined type
`struct Togl'
togl/togl.h:152: error: forward declaration of `struct
Togl'

correct?

------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference 
Don't miss this year's exciting event. There's still time to
save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

Re: netgen execution problem
country flaguser name
France
2008-04-21 16:39:51
Rebecca Bendick wrote:
> Dear gang:
> 
> I'm trying to use netgen on a powerpc G5 with Darwin
10.4.11.  I used  
> to be able to use it just fine, but now I can't.  If I
simply install  
> the netgen executable from fink using "fink
install netgen", when I  
> try to run the program, it returns:
> 
> kham:/sw/src rbk$ dyld: Library not loaded:
/sw/lib/libtix8.1.8.4.dylib
>    Referenced from: /sw/bin/ng
>    Reason: image not found

This is my fault, for not following Fink policy with tix
(not that it 
would have helped much, I suspect). I updated tix to 8.4.2,
which 
replaced the library with
/sw/lib/Tix8.4.2/libTix8.4.2.dylib, and this 
breaks netgen. I had the intention to update netgen
correspondingly, but 
ran into so many difficulties that I gave up.

I am trying some more, but I am currently not very
optimistic. The 
problem is that tcltk has moved on, now at version 8.4.16,
and tix had 
to be updated, but I am not sure netgen-4.4 can keep up with
this.

I can send you a deb with tix-8.1.4-1001 that contains the
dylib in 
question, but I have no idea if netgen will really run with
this.

-- 
Martin


------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference 
Don't miss this year's exciting event. There's still time to
save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

Re: netgen execution problem
country flaguser name
France
2008-04-21 18:23:21
Rebecca Bendick wrote:
[]
>  echo >> libsrc/makefile.mach.DARWIN <<EOF
> MACHINE
> *error: This program must be named either arch or
machine

This error I don't know where it comes from, but it seems
harmless.

OK, I have now cobbled together new versions of tix and of
netgen. A 
first test seems to indicate that it builds now, so it
wasn't as 
difficult as I feared. Please update to netgen-4.4-12 (this
pulls in 
tix-8.4.3 and the new tix-shlibs-8.4.3).

Actually, this version of netgen is very old, and I should
try to make a 
package for a more recent version from CVS, but this looks
like it would 
take a lot of time which I don't have.

-- 
Martin





------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference 
Don't miss this year's exciting event. There's still time to
save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

Re: netgen execution problem
country flaguser name
United States
2008-04-21 20:02:16
OK, thanks!  Netgen now works great, so whatever you cobbled
together  
does the trick.


------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference 
Don't miss this year's exciting event. There's still time to
save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )