× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




This has the same problem as the last one:

checking for tn5250_terminal_init in -l5250... no
configure: error: ** Unable to find 5250 libraries!

To fix it, I have to run the following command:

$ setenv LDFLAGS -L/usr/local/lib

Now ./configure will run successfully, but make will fail with the following errors:

$ make
Making all in src
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../bitmaps -I/usr/X11R6/include -DDATADIR=\"/usr/local/share\" -g -O2 -MT alloccolors.o -MD -MP -MF ".deps/alloccolors.Tpo" -c -o alloccolors.o alloccolors.c; then mv -f ".deps/alloccolors.Tpo" ".deps/alloccolors.Po"; else rm -f ".deps/alloccolor
s.Tpo"; exit 1; fi
In file included from alloccolors.c:26:
x5250.h:34:20: tn5250.h: No such file or directory
In file included from alloccolors.c:26:
x5250.h:162: error: syntax error before '*' token
x5250.h:169: error: syntax error before '*' token
x5250.h:182: error: syntax error before '*' token
x5250.h:185: error: syntax error before '*' token
x5250.h:188: error: syntax error before '*' token
x5250.h:213: error: syntax error before "Tn5250Terminal"
x5250.h:216: error: syntax error before "Tn5250Terminal"
x5250.h:225: error: syntax error before '*' token
x5250.h:228: error: syntax error before '*' token
*** Error code 1

I can fix this problem by typing:

setenv CFLAGS -I/usr/local/include

Then I can re-run ./configure and make and it'll build.

You might find the following interesting:

    $ pkg-config --libs tn5250
    -L/usr/local/lib -l5250 -lssl -lcrypto -lncurses

    $ pkg-config --cflags tn5250
    -I/usr/local/include

It's almost like there should be a link between ./configure and pkg-config...

---
Scott Klement  http://www.scottklement.com

On Mon, 20 Mar 2006, James Rich wrote:

I've made a forth pre-release of x5250 that fixes several of the build
problems Scott found.  I tested with gcc 3.3.6 and gcc 4.0.0 and the
latter complains about sign mismatches, but otherwise it runs without
problems.  gcc 3.3.6 does not give any warnings at all.

Please test out this new tarball:

http://www.chowhouse.com/~james/x5250/x5250-0.5.2-pre4.tar.gz

James Rich

It's not the software that's free; it's you.
        - billyskank on Groklaw
--
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.