Bugs item #1894905, was opened at 2008-02-16 14:33
Message generated for change (Comment added) made by engelsman
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1894905&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build/Install
Group: release
Status: Open
Resolution: Invalid
Priority: 5
Private: No
Submitted By: engelsman (engelsman)
Assigned to: Nobody/Anonymous (nobody)
Summary: nedit-5.5 fails to build with openMotif-2.3.0

Initial Comment:
I'm using Lunar Linux, which is a source based distro,
and for whatever reason decided to rebuild all of the
installed packages again from scratch, only to find that
nedit-5.5 won't rebuild now that other packages have been
updated in the meantime.

Please see the attached compile log for more details.

If I track down the missing dependency/library, I will
let you know.

Cheers
engelsman

----------------------------------------------------------------------

>Comment By: engelsman (engelsman)
Date: 2008-03-09 21:22

Message:
Logged In: YES 
user_id=2011011
Originator: YES

Yooden: yes, and no!

What threw me was that because I have openMotif-2.3.0 installed,
the current Lunar Linux nedit build process responds with:

> NEdit is known to work with LessTif versions:
> ...
> and is known to be very stable with Open Motif versions 2.1.30 and
> 2.2.3, which are freely available from several sources, including:
> ...
> ========================== WARNING ===========================
> You have chosen to build NEdit with an untested version of Open Motif.
> Please report your success or failure with this version to:
>         [email protected]

nedit failed to build, so I assumed that it was down to incompatibilities
with openMotif-2.3.0. In fact, it is, and it isn't.

The Open Motif 2.3 Release Notes contain the following nugget:

> 2. What is new in Open Motif 2.3
> OpenMotif 2.3 has the following feature improvements:
>  * Client-side anti-aliased fonts support via XFT
>  * UTF-8 and UTF8_STRING atom support
>  * Ability to show text and pixmaps in Label, LabelGadget and all
>    derived widgets
>  * Support of PNG and JPEG image formats in the same way as XPM is
supported
>  * 26 bug fixes

If libXft, libpng and libjpeg are already installed on the system, the
Open Motif
configuration step should detect them and enable them. In fact, in the
Lunar package
options these are explicitly enabled. But this means that any code that
links against
Open Motif will also need to define these libraries on the link line. And
that is
the problem here. I think.

To get nedit to build with Open Motif 2.3, I need to add
-DBUILD_UNTESTED_NEDIT
to CFLAGS in nedit/makefiles/Makefile.linux. If I also add -lXmu -lXft
-lpng -ljpeg
to the LIBS declaration then I can get nedit to build without error.

I would be much obliged if you could check and confirm this behaviour.

Cheers
engelsman

----------------------------------------------------------------------

Comment By: Thorsten Haude (yooden)
Date: 2008-03-09 14:36

Message:
Logged In: YES 
user_id=119143
Originator: NO

Not a NEdit problem, check your Motif installation.

Can you use Lesstif as an alternative?
Is there a Lunar bug tracker web page?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1894905&group_id=11005
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to