[Fink-users] Maximum number of processes in 10.2

2002-12-08 Thread Dr. Paul Fons
I was attempting to run a bltwish application and the script just hung 
for no apparent reason.  When I attempted to look at the application 
via ps in terminal, I was told there were no more processes.  I suspect 
that I had something like 132 processes running at the time.  Since I 
am using X11 applications often, I usually have a large number of 
processes running, quitting a few applications allow my bltwish 
application to run normally.  My question is then: what is the maximum 
number of processes and is there any way to increase this number 
(kernel recompile is required?). Would switching from 10.2 user to 10.2 
server help on this issue?  Would the maximum number of processes 
increase?

Thanks



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] tcl/tk BLT2.4z library build problem

2002-11-28 Thread Dr. Paul Fons

Hello, I am trying to build and install the tk-extending library 
BLT2.4z (plotting functions for Tk) and adding it onto the fink 
distributed tcltk. After download the source for blt from sourceforge, 
I was pleased to see that configure recognized darwin (but it stated 
darwin6.2 -- isn't darwin at 6.0.1?).  The makefile screwed up the 
library path to the libtcl.dylib (it used the build path from 
tclConfig.sh instead of the install path).  After fixing this, it 
almost seemed to work (lots of compiling, a few warnings, and then:  
Any ideas?

[Quark:~/Ports/blt2.4z] paulfons% make install
(cd src; make install)
/usr/bin/install -c -m 644 libBLT.a /sw/lib/libBLT24.a
(cd /sw/lib; rm -f libBLT.a ; ln -s libBLT24.a libBLT.a)
ranlib /sw/lib/libBLT24.a
ranlib: file: /sw/lib/libBLT24.a(bltVecCmd.o) has no symbols
/usr/bin/install -c -m 644 libBLTlite.a /sw/lib/libBLTlite24.a
(cd /sw/lib; rm -f libBLTlite.a ; ln -s libBLTlite24.a libBLTlite.a)
ranlib /sw/lib/libBLTlite24.a
ranlib: file: /sw/lib/libBLTlite24.a(bltVecCmd.o) has no symbols
(cd shared; make install)
gcc -c -Wall -fPIC -O6   -I.. -I./.. -I./../..  -I/sw/include 
-I/usr/X11R6/include -DBLT_LIBRARY=\/sw/lib/blt2.4\ \
./../bltInit.c
rm -f libBLT24.so
cc -dynamiclib  -prebind  -o libBLT24.so bltInit.o bltGrAxis.o 
bltGrBar.o bltGrElem.o bltGrGrid.o bltGrHairs.o bltGrLegd.o bltGrLine.o 
bltGrMarker.o bltGrMisc.o bltGrPen.o bltGrPs.o bltGraph.o  bltAlloc.o 
bltArrayObj.o bltBgexec.o bltChain.o bltDebug.o bltHash.o bltList.o 
bltNsUtil.o bltParse.o bltPool.o bltSpline.o bltSwitch.o bltTree.o 
bltTreeCmd.o bltUnixPipe.o bltUtil.o bltVector.o bltVecMath.o 
bltVecCmd.o bltVecObjCmd.o bltWatch.o   bltBeep.o bltBind.o bltBitmap.o 
bltBusy.o bltCanvEps.o bltColor.o bltConfig.o bltContainer.o 
bltCutbuffer.o bltDragdrop.o bltHierbox.o bltHtext.o bltImage.o 
bltUnixImage.o bltPs.o bltTable.o bltTabnotebook.o bltTabset.o 
bltText.o bltTile.o bltTreeView.o bltTreeViewCmd.o bltTreeViewColumn.o 
bltTreeViewEdit.o bltTreeViewStyle.o bltUnixDnd.o bltWindow.o 
bltObjConfig.o bltWinop.o tkButton.o tkFrame.o bltScrollbar.o  bltTed.o 
 \

ld: common symbols not allowed with MH_DYLIB output format
bltInit.o definition of common _bltEmptyStringObjPtr (size 4)
bltInit.o definition of common _bltNaN (size 8)
bltGraph.o definition of common _bltBarElementUid (size 4)
bltGraph.o definition of common _bltXAxisUid (size 4)
bltGraph.o definition of common _bltYAxisUid (size 4)
bltGraph.o definition of common _bltLineElementUid (size 4)
bltGraph.o definition of common _bltStripElementUid (size 4)
bltGraph.o definition of common _bltBitmapMarkerUid (size 4)
bltGraph.o definition of common _bltImageMarkerUid (size 4)
bltGraph.o definition of common _bltLineMarkerUid (size 4)
bltGraph.o definition of common _bltPolygonMarkerUid (size 4)
bltGraph.o definition of common _bltTextMarkerUid (size 4)
bltGraph.o definition of common _bltWindowMarkerUid (size 4)
bltGraph.o definition of common _bltContourElementUid (size 4)
bltUnixImage.o definition of common _blueMaskShift (size 4)
bltUnixImage.o definition of common _greenMaskShift (size 4)
bltUnixImage.o definition of common _redMaskShift (size 4)
bltUnixImage.o definition of common _blueAdjust (size 4)
bltUnixImage.o definition of common _greenAdjust (size 4)
bltUnixImage.o definition of common _redAdjust (size 4)
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libBLT24.so] Error 1
make[1]: *** [install-lib] Error 2
make: *** [install-all] Error 2



---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] tcl-related include file problem

2002-11-23 Thread Dr. Paul Fons
Howdy I am trying to compile a portable diffraction software sweet from 
NIST and thought it would be a snap as I have tcltk installed from 
fink.  I hacked the make file included for linux shown below and it 
almost worked -- the problem seems to be with the headers in tk.h 
specifically symbols like /sw/include/tk.h:671: undefined type, found 
`XWindowChanges'   -- where are these defined?  Thanks for any help on 
this.






[Quark:~/Ports/logic] paulfons% cat Make_linux

# Linux x86 #
#
LIB = ../logic.a
  FC = g77 -fno-backslash
  LOCALFC = g77
  CC = gcc
  F2CLIB = -lg2c
# use next line for debugging only
#  DBG= -g -Wall
# options for C - Fortran naming
NAMEOPTION = -DTWOSCORE -DBIT32
CFLAGS = $(DBG) $(NAMEOPTION) -c
FFLAGS = $(DBG) -c
# shared library options
SHSUFFIX = so
# command to build shared libraries
SHARECMD = $(FC) -shared
# libraries needed to build shared libraries
SHARELIB =
# locations for TCL include files -- system dependent
TCL_CFLAGS = -I/usr/include/tcl -I/usr/local/include -I/sw/include
# libraries needed for linking
TCLLIBS =  -ltcl -lm -ldl -lc -lgcc $(F2CLIB)
TKLIBS = -ltk -ltcl -lm -ldl -lc -lgcc -L/usr/X11R6/lib -lX11 $(F2CLIB)
#
RANLIB = ranlib

# change this if -D is not the command line option to define 
preprocessor
# options from the command line (it is needed to include Tk into 
logic_shell.c)
TK_CFLAGS = -DLOGIC_TK
#


Build sequence ...

make
gcc  -o tk_logic.o  -DTWOSCORE -DBIT32 -c  -I/usr/include/tcl 
-I/usr/local/include -I/sw/include -DLOGIC_TK logic_sh.c
/sw/include/tk.h:83: header file 'X11/Xlib.h' not found
/sw/include/tk.h:581: undefined type, found `Bool'
/sw/include/tk.h:582: undefined type, found `Display'
/sw/include/tk.h:583: undefined type, found `Window'
/sw/include/tk.h:584: undefined type, found `Window'
/sw/include/tk.h:585: undefined type, found `Window'
/sw/include/tk.h:586: undefined type, found `Time'
/sw/include/tk.h:591: undefined type, found `Bool'
/sw/include/tk.h:597: undefined type, found `Bool'
/sw/include/tk.h:598: undefined type, found `Display'
/sw/include/tk.h:599: undefined type, found `Window'
/sw/include/tk.h:657: undefined type, found `Display'
/sw/include/tk.h:660: undefined type, found `Visual'
/sw/include/tk.h:662: undefined type, found `Window'
/sw/include/tk.h:671: undefined type, found `XWindowChanges'
/sw/include/tk.h:673: undefined type, found `XSetWindowAttributes'

 ... lots of similar errors on different lines

/sw/include/tkDecls.h:1068: undefined type, found `GC'
/sw/include/tkDecls.h:1070: undefined type, found `GC'
/sw/include/tkDecls.h:1072: undefined type, found `Pixmap'
/sw/include/tkDecls.h:1073: undefined type, found `XColor'
/sw/include/tkDecls.h:1077: undefined type, found `Pixmap'
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
make[1]: *** [tk_logic.o] Error 1
make: *** [logic_shell] Error 2



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] g77 compiling problem

2002-11-18 Thread Dr. Paul Fons
I am trying to compile some code that needs to be compiled with g77.  I 
have done this one two machines both running the latest g77 from fink 
and am now trying it on a third machine.  All machines are running 
10.2.2.  On the latest machine, however, the compilation stops with:

[g4-hy:ifeffit_1.0b/src/macosx] fons% make
g77 -O2  -o autobk ../autobk/autobk.o ../autobk/misc_file.o 
../autobk/setsys.o ../autobk/autint.o ../autobk/autinp.o 
../autobk/getcom.o ../autobk/autdat.o ../autobk/autnls.o 
../autobk/autfun.o ../autobk/autlog.o ../autobk/autout.o libxafs.a 
-L/sw/lib -lg2c -lm
/usr/bin/ld: Undefined symbols:
_main
_f__xargc
_f__xargv
make: *** [autobk] Error 1

The thing is that the symbols xargc and xargv are in lib2gc (which is 
part of g77, right?) and are showing up as undefined.  I assume the 
_main is also defined there.  Any idea as to what might be going on.  
On the other two machines the compile just zips through this line 
without error.  Something is different, but I am not sure what.  The 
version of g77 is:

[g4-hy:ifeffit_1.0b/src/macosx] fons% fink list | grep g77

 i  g77 2.95.2-2GNU FORTRAN77 compiler.
[g4-hy:ifeffit_1.0b/src/macosx] fons% fink --version
Package manager version: 0.10.0
Distribution version: 0.4.1.cvs

and

[g4-hy:ifeffit_1.0b/src/macosx] fons% gcc --version
gcc (GCC) 3.1 20020420 (prerelease)


I assume this is something trivial, but I am just missing it, but the 
fact that the behavior is different on machines with ostensibly 
identical installs is troubling. Any ideas?



---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] libpcap trojan alert

2002-11-16 Thread Dr. Paul Fons
I noticed on the register this morning a report that stated that libpcap sources had been infected with a trojan.  They include MD5 checksums for the altered and unaltered sources for double checking.  What is the status on the MD5 checksum for fink -- did it have the right checksum.  This site http://www.hlug.org/trojan/ the Houston Linux user's group has more details (including the compromised code.  This, of course, means that applications that use the library are potentially compromised as well.

[Fink-users] libpcap trojan update

2002-11-16 Thread Dr. Paul Fons
In reference to my earlier note, it would appear that fink is not 
immediately in trouble as my copy of libpcap is libpcap-0.6.2-6.info as 
opposed to the infected version 0.7.1.  I also scanned the sources for 
the URL that the Houston group posted and didn't find them.  This is 
something to be aware of, however.



---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] libxml build problem

2002-10-26 Thread Dr. Paul Fons
Hi I am running fink version:

[Quark:~/Ports/horae-005] paulfons% fink --version
Package manager version: 0.10.0.cvs
Distribution version: 0.4.9.cvs


and find that I can't compile the package libxml.  I thought this might 
have come up before, but a search of the user-list mailing archives 
came up blank.  Is there a standard fix for this?  I am concerned in 
particular with the line

sh: /sw/fink/dists/unstable/main/finkinfo/libs/libxml2-2.4.25-1.patch: 
No such file or directory

I have used cvs update to upgrade to the latest version (many times) 
with no success.  This install of fink was upgraded to the latest 
version via the instructions on the net.


Information about 1596 packages read in 1 seconds.

The following 3 packages will be installed or updated:
 libxml2 libxml2-bin libxml2-shlibs
rm -rf libxml2-2.4.25-1
mkdir -p /sw/src/libxml2-2.4.25-1
bzip2 -dc /sw/src/libxml2-2.4.25.tar.bz2 | /sw/bin/tar -xf  -
sed 's|@PREFIX@|/sw|g' 
/sw/fink/dists/unstable/main/finkinfo/libs/libxml2-2.4.25-1.patch | 
patch -p1
sh: /sw/fink/dists/unstable/main/finkinfo/libs/libxml2-2.4.25-1.patch: 
No such file or directory
./configure --prefix=/sw --mandir='${prefix}/share/man' --with-iconv=/sw


lots of compile related info ...





rm -f .libs/xmlunicode.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -I/sw/include 
-I/sw/include -g -O2 -Wall -c xmlunicode.c  -fno-common -DPIC -o 
.libs/xmlunicode.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -I/sw/include 
-I/sw/include -g -O2 -Wall -c xmlunicode.c -o xmlunicode.o /dev/null 
21
mv -f .libs/xmlunicode.lo xmlunicode.lo
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall  -o libxml2.la -rpath 
/sw/lib -version-info 6:25:4 SAX.lo entities.lo encoding.lo error.lo 
parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo 
xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo HTMLtree.lo 
debugXML.lo xpath.lo xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo 
DOCBparser.lo catalog.lo globals.lo threads.lo c14n.lo xmlregexp.lo 
xmlschemas.lo xmlschemastypes.lo xmlunicode.lo -lz -L/sw/lib -liconv -lm
rm -fr .libs/libxml2.la .libs/libxml2.* .libs/libxml2.*
./libtool: test: too many arguments
gcc -dynamiclib -undefined suppress -o .libs/libxml2.2.4.25.dylib  
SAX.lo entities.lo encoding.lo error.lo parserInternals.lo parser.lo 
tree.lo hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo 
HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo 
nanohttp.lo nanoftp.lo DOCBparser.lo catalog.lo globals.lo threads.lo 
c14n.lo xmlregexp.lo xmlschemas.lo xmlschemastypes.lo xmlunicode.lo  
-lz -L/sw/lib -liconv -lm -lc -install_name  /sw/lib/libxml2.2.dylib
/usr/bin/libtool: ld: -undefined error must be used when 
-twolevel_namespace is in effect
internal link edit command failed
### execution of make failed, exit code 2
make[2]: Failed: compiling libxml2-2.4.25-1 failed
*** [libxml2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] cups - how to use it

2002-04-16 Thread Dr. Paul Fons

Just to get a taste of what apple has bought with its purchase of a cups 
license, I installed the fink version.  Has anyone else played with this 
at all.  It would seem to be designed to interact with a web page on the 
host at a specified port, but it seems not to be enabled.  Any quick 
suggestions on how to start (e.g. how to define a postscript printer for 
which the ppd file is available.  Thanks for any help.


___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



[Fink-users] LessTif problem?

2002-04-10 Thread Dr. Paul Fons

I am an amateur at unix programming and am trying to compile a motif 
based application that does
laue diffraction pattern simulations (laueX)  (I might even submit it to 
fink if I can figure out how to get it to execute).
The compilation goes fine with some multiple definition warnings (e.g.)

cc -L/sw/lib -L/usr/X11R6/lib -dynamic -o ../bin/laueX laueX.o exitCB.o 
read_fileCB.o crys_dataCB.o XselectCB.o XcellCB.o mod_fileCB.o 
det_dataCB.o display_msg.o get_asy.o spot_dataCB.o spotCB.o 
index_optCB.o get_data.o save_data.o index_tryCB.o index_try.o 
init_mat.o vect_diff.o gener_hkl.o index_solCB.o indexation.o 
simul_optCB.o get_gener.o cr_mat44.o simul_compCB.o simul_print.o 
orien_axeCB.o do_rep.o orien_aligCB.o orien_rotCB.o gen_cell.o 
gen_equiv.o comp_Fhkl.o helpCB.o write_log.o reflection.o det_helpCB.o 
axis_helpCB.o simul_dispCB.o simul_comp.o xray_dataCB.o xray_charCB.o 
read_xray.o polarCB.o printerCB.o -lXm -lXt -lX11  -lm
/usr/bin/ld: warning multiple definitions of symbol _vendorShellClassRec
/usr/X11R6/lib/libXt.dylib(Vendor.o) definition of _vendorShellClassRec
/sw/lib/libXm.dylib(Vendor.lo) definition of _vendorShellClassRec
/usr/bin/ld: warning multiple definitions of symbol 
_vendorShellWidgetClass
/usr/X11R6/lib/libXt.dylib(Vendor.o) definition of 
_vendorShellWidgetClass
/sw/lib/libXm.dylib(Vendor.lo) definition of _vendorShellWidgetClass
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may 
result in errors or different symbols being used
symbol _vendorShellWidgetClass used from dynamic library 
/usr/X11R6/lib/libXt.dylib(Vendor.o) not from earlier dynamic library 
/sw/lib/libXm.2.dylib(Vendor.lo)
symbol _vendorShellClassRec used from dynamic library 
/usr/X11R6/lib/libXt.dylib(Vendor.o) not from earlier dynamic library 
/sw/lib/libXm.2.dylib(Vendor.lo)
/usr/bin/ld: warning unused multiple definitions of symbol 
_XauDisposeAuth
/usr/X11R6/lib/libX11.dylib(AuDispose.o) definition of _XauDisposeAuth
/usr/X11R6/lib/libXp.6.dylib(AuDispose.o) unused definition of 
_XauDisposeAuth
/usr/bin/ld: warning unused multiple definitions of symbol _XauReadAuth
/usr/X11R6/lib/libX11.dylib(AuRead.o) definition of _XauReadAuth
/usr/X11R6/lib/libXp.6.dylib(AuRead.o) unused definition of _XauReadAuth
chmod go+rx ../bin/laueX





When I attempt to run the program, however, I get the following error 
messages.  Any idea what they may mean -- or more specifically how to 
fix the program?

Warning: XmManager ClassInitialize: XmeTraitSet failed

Error: attempt to add non-widget child DropSiteManager to parent 
laueX which supports only widgets


___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



[Fink-users] db3-shlibs compile problem

2002-03-31 Thread Dr. Paul Fons

Sorry to bother you with something that may be trivial, but I don't know 
what to try next.  I have been using fink for quite a while and am only 
having a problem after a recent cvs update (probably a month or so ago I 
would guess) with compiling the update. I am running 10.1.3 and have 
installed apple's december developer tools.  I am only having trouble 
compiling (as far as I know) db3-shlib.  The fink update-all command 
continues for several pages of output and then finally fails at the very 
end with the dialog below...   Any ideas as to what could be going wrong?





ranlib .libs/libdb-3.3.a
creating libdb-3.3.la
(cd .libs  rm -f libdb-3.3.la  ln -s ../libdb-3.3.la libdb-3.3.la)
/sw/src/db3-shlibs-3.3.11-4/db-3.3.11/build_unix/.libs
/bin/sh ./libtool --mode=compile c++ -c -I. -I../dist/../include 
-I../dist/../include_auto -I/sw/include -fexceptions -O 
../dist/../cxx/cxx_app.cpp
rm -f .libs/cxx_app.lo
c++ -c -I. -I../dist/../include -I../dist/../include_auto -I/sw/include 
-fexceptions -O ../dist/../cxx/cxx_app.cpp  -fno-common -DPIC -o 
cxx_app.o
In file included from ../dist/../cxx/cxx_app.cpp:18:
../dist/../include/db_cxx.h:52: iostream.h: No such file or directory
make: *** [cxx_app.lo] Error 1
### (cd failed, exit code 2


The file iostream.h is present.  The locate command shows that it is 
part of the developer tools...


localhost:~] paulfons% locate iostream.h
/usr/include/gcc/darwin/2.95.2/g++/iostream.h
/usr/include/php/Zend/zend_istdiostream.h
/usr/local/include/g++-3/iostream.h
/usr/local/include/g++-3/stdiostream.h



___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



[Fink-users] db3 compile failure

2002-03-29 Thread Dr. Paul Fons

Upon updating my fink packages using cvs, fink wished to compile several 
new packages.
Some compiled OK, but part way through when fink tries to compile db3, 
the compile fails
due to a file (iostream.h) not being found.  The specific section where 
the error occurs is pasted below:
The weird thing is that iostream.h does exist in 
/usr/include/gcc/darwin/2.95.2/g++/iostream.h and I can
see it is intact using vi.  Is this a problem with the script or is 
there something wrong with my installation.  This
is the first problem I have had for a long time updating packages.  This 
is on a powerbook G3 running 10.1.3 with the
december developer tools update.  Any ideas?

creating libdb-3.3.la
(cd .libs  rm -f libdb-3.3.la  ln -s ../libdb-3.3.la libdb-3.3.la)
/sw/src/db3-shlibs-3.3.11-4/db-3.3.11/build_unix/.libs
/bin/sh ./libtool --mode=compile g++ -c -I. -I../dist/../include 
-I../dist/../include_auto -I/sw/include -fexceptions -O 
../dist/../cxx/cxx_app.cpp
rm -f .libs/cxx_app.lo
g++ -c -I. -I../dist/../include -I../dist/../include_auto -I/sw/include 
-fexceptions -O ../dist/../cxx/cxx_app.cpp  -fno-common -DPIC -o 
cxx_app.o
In file included from ../dist/../cxx/cxx_app.cpp:18:
../dist/../include/db_cxx.h:52: iostream.h: No such file or directory
make: *** [cxx_app.lo] Error 1
### (cd failed, exit code 2
Failed: compiling db3-shlibs-3.3.11-4 failed



___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users