On Mon, 2002-11-04 at 11:06, Michael Sierk wrote:
> Fink-users:
> 
> Lesstif is failing to compile (see below).  If I go into the source 
> directory and change the relative position of the -lXp and -lX11 flags 
> in the configure file, then run 'configure', 'make', 'make install', 
> everything works OK. 

What xfree86 version do you have?

However if I then type 'fink install lesstif', it 
> doesn't recognize that the compilation has already been done and 
> unpacks the tarball again and starts over.

This is normal.  There's no way to get fink to use your build.  I think
this is intended as a feature rather than a bug.


> 
> Is there a way to get Fink to recognize that the program has been 
> built, and to just update its own database?  Or, is there a fix to the 
> ld error in lesstif?

A possible kluge, if nobody answers about your problem (I built lesstif
with no problem, and a rebuild didn't reproduce your error) is to
re-tar-gz the source directory into a tarball after you've made the
changes and then replace the one fink's using.  If you do 

cd /sw/src/lesstif-0.93.36-2
sudo tar -cvzf lesstif-0.93.36.tar.gz lesstif-0.93.36

you can generate your own repacked tarball.  Move the new tarball up
into /sw/src (overwriting the old one) and see if you can install it.


> 
> Thanks,
> Mike Sierk
> 
> 
> > gcc -dynamiclib -flat_namespace -undefined suppress -o 
> > .libs/libXm.2.0.1.dylib  ArrowB.lo ArrowBG.lo AtomMgr.lo BaseClass.lo 
> > BulletinBoard.lo Cache.lo CascadeB.lo CascadeBG.lo Command.lo 
> > CutPaste.lo DebugUtil.lo Desktop.lo Dest.lo DialogS.lo Display.lo 
> > DragBS.lo DragC.lo DragIcon.lo DragOverS.lo DragUnder.lo 
> > DrawingArea.lo DrawnB.lo DropSMgr.lo DropSMgrI.lo DropTrans.lo 
> > ExtObject.lo FileSB.lo FontList.lo Form.lo Frame.lo Gadget.lo 
> > GadgetUtil.lo GeoUtils.lo Hash.lo ImageCache.lo LTglob.lo Label.lo 
> > LabelG.lo List.lo MapEvent.lo MainW.lo Manager.lo MenuShell.lo 
> > MenuUtil.lo MessageB.lo Mwm.lo Obsolete.lo Primitive.lo Protocols.lo 
> > PushB.lo PushBG.lo RCUtils.lo ReadImage.lo Region.lo RepType.lo 
> > ResInd.lo RowColumn.lo Sash.lo Scale.lo Screen.lo ScrollBar.lo 
> > ScrolledW.lo Selection.lo SelectionBox.lo Separator.lo SeparatoG.lo 
> > Shadow.lo ShellExt.lo Simple.lo TearOff.lo TearOffB.lo Text.lo 
> > TextF.lo TextIn.lo TextOut.lo TextStrSo.lo ToggleB.lo ToggleBG.lo 
> > TrackLoc.lo Transltns.lo Traversal.lo TravAct.lo UniqueEvent.lo 
> > VaSimple.lo VirtKeys.lo Visual.lo World.lo XmString.lo XmIm.lo Xmos.lo 
> > misc.lo LTCvt.lo LTV6Editres.lo Vendor.lo ResConvert.lo ComboBox.lo 
> > Container.lo Direction.lo Draw.lo GrabShell.lo Notebook.lo PanedW.lo 
> > PixConv.lo PopupUtil.lo RenderTable.lo SpinBox.lo Trait.lo 
> > TranslNew.lo Xme.lo IconG.lo Transfer.lo Xpm.lo XmTabList.lo 
> > Messages.lo Print.lo PrintShell.lo SSpinB.lo XmStrDefs.lo  -L/sw/lib 
> > -L/usr/X11R6/lib -lSM -lICE -lXt -lXp -lXext -lX11 -lc -install_name  
> > /sw/lib/libXm.2.dylib -compatibility_version 3 -current_version 3.1
> > ld: Undefined symbols:
> > __Xsetlocale referenced from libXp expected to be defined in libX11
> > /usr/bin/libtool: internal link edit command failed
> > make[3]: *** [libXm.la] Error 1
> > make[2]: *** [all] Error 2
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all-recursive] Error 1
> > ### execution of make failed, exit code 2
> > Failed: compiling lesstif-0.93.36-2 failed
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Michael Sierk, Postdoctoral Fellow        email: [EMAIL PROTECTED]
> Biochemistry & Molecular Genetics Dept.   Phone(W):  (434) 924-2821
> P.O. Box 800733                                           (H):  (434) 970-2268
> University of Virginia
> -----------------------------------------------------------------------
> "If at first you do succeed, try not to act surprised."
>      - Anonymous.
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> 
> 
> -------------------------------------------------------
> 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
-- 
Alexander K. Hansen
Associate Research Scientist, Columbia University 
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


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

Reply via email to