Re: [Tlf-devel] Problem to compile TLF.

2015-12-17 Thread Nate Bargmann
This has been resolved by a patch set just applied by Tom and previously
tested by David.  The build system should detect when the ncurses header
files are installed in /usr/include or /usr/include/ncurses or in a
location passed by use of the CPPFLAGS variable when running the
configure script.

Thanks to David for being patient and testing things for me even though
I found a bug in another package I used, which has now been submitted
and accepted upstream.  This is the way the collaborative software
community weeks--Tlf benefits and others benefit as well.

73, Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread David Quental

Hi Thomas,

tks for your email.

I removed the tlf directory, then installed it again.

In fact the 2 lines are here when I type './configure'. However, it does 
not compile yet:


keyer.c:31:19: fatal error: panel.h: No such file or directory
 #include 
   ^
compilation terminated.
Makefile:547: recipe for target 'keyer.o' failed
make[2]: *** [keyer.o] Error 1

Best 73.

CT1DRB
David Quental


Às 15:53 de 06-12-2015, Thomas Beierlein escreveu:

Am Sun, 6 Dec 2015 15:36:16 +
schrieb David Quental :


Hi Thomas,

tks for your answer.

Well, after I sent my first email I remembered about my linux
version, then it was a bit late.

I use the development version from github and my linux version is
OpenSuSE Leap 42.1.


Ok, did you run the 'autoreconf -i' step after download? It is needed
if you work from the git repo.

If I run './configure' afterwards here i get the following two lines in
the output:

...
checking for initscr in -lncurses... yes
checking for update_panels in -lpanel... yes
...

What does it give at your side?

73, Tom


Best 73.

CT1DRB
David Quental

Às 15:33 de 06-12-2015, Thomas Beierlein escreveu:

Hi David,

what version of tlf do you use -  tlf-1.2.2 or the development
version from github? And please tell us which linux version you
have installed.

Am Sun, 6 Dec 2015 13:30:57 + schrieb David Quental
:


Hello all,

I have been having problems to compile TLF:

make[2]: Entering directory '/home/ct1drb/tlf/src'
 CC   keyer.o
keyer.c:31:19: fatal error: panel.h: No such file or directory
#include 
  ^
compilation terminated.
Makefile:547: recipe for target 'keyer.o' failed
make[2]: *** [keyer.o] Error 1

I know how to solve it, just to add the path for panel.h,
/usr/include/ncurses/.

Can you please tell me where you add the path? Normally the path to
panel.h gets determined by running ./configure. It is already
needed or all #includes to . So there should be no error
at all or an error for each file which includes .

73, de Tom DL1JBE


However, when I perform command git pull it
gives me problems with the changed files.

Is there a way to solve it ?

Looking forward to reading from you.

Best 73.

CT1DRB
David Quental

___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel




___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel






___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread Nate Bargmann
* On 2015 06 Dec 11:07 -0600, Thomas Beierlein wrote:
> Hi David and Nate,
> 
> I just checked in a OpenSUSE vm. There is no /usr/include/panel.h just
> a /usr/include/ncurses/panel.h in OpenSUSE. As an additionla problem
> there is also no *.pc file which you could consult.
> 
> So you need to tell 'configure' about that additional search path.
> Please do it as follows:
> 
> CFLAGS=-I/usr/include/ncurses ./configure 
> make clean
> make
> 
> That should fix the problem.

I think we should consider a check for the panel.h using AC_CHECK_HEADER
(I think, I need to revisit the docs) in configure.ac.  We can then use
the values that *should* appear in config.h to find the proper panel.h
file.

I've got a pretty good handle on the Autotools, so I can open an issue
and assign to myself to fix.

73, Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread Thomas Beierlein
Am Sun, 6 Dec 2015 17:56:20 +
schrieb David Quental :

> Hi Thomas,
> 
> tks for your email.
> 
> Yes, it corrected the problem, tks a lot.

Glad to help. 

73, de Tom.

> 
> Best 73.
> 
> CT1DRB
> David Quental
> 
> Às 17:04 de 06-12-2015, Thomas Beierlein escreveu:
> > Hi David and Nate,
> >
> > I just checked in a OpenSUSE vm. There is no /usr/include/panel.h
> > just a /usr/include/ncurses/panel.h in OpenSUSE. As an additionla
> > problem there is also no *.pc file which you could consult.
> >
> > So you need to tell 'configure' about that additional search path.
> > Please do it as follows:
> >
> > CFLAGS=-I/usr/include/ncurses ./configure 
> > make clean
> > make
> >
> > That should fix the problem.
> >
> > 73, de Tom DL1JBE
> >
> >   Am Sun, 6 Dec 2015 10:50:38
> > -0600 schrieb Nate Bargmann :
> >
> >> * On 2015 06 Dec 10:05 -0600, David Quental wrote:
> >>> Hi Thomas,
> >>>
> >>> tks for your email.
> >>>
> >>> I removed the tlf directory, then installed it again.
> >>>
> >>> In fact the 2 lines are here when I type './configure'. However,
> >>> it does not compile yet:
> >>>
> >>> keyer.c:31:19: fatal error: panel.h: No such file or directory
> >>>   #include 
> >>> ^
> >>> compilation terminated.
> >>> Makefile:547: recipe for target 'keyer.o' failed
> >>> make[2]: *** [keyer.o] Error 1
> >> David, if you use the command:
> >>
> >> locate panel.h
> >>
> >> do you get anything?  I have the mlocate Debian package installed
> >> that provides a handy database to find files quickly using the
> >> 'locate' command.  Here is what I get:
> >>
> >> $ locate panel.h
> >> /usr/include/panel.h
> >> /usr/include/ncursesw/panel.h
> >> /usr/share/doc/python2.7/html/library/curses.panel.html
> >> /usr/src/linux-headers-3.16.0-4-amd64/include/config/input/apanel.h
> >> /usr/src/linux-headers-3.16.0-4-common/include/drm/drm_panel.h
> >>
> >> The first two are the ones used by the C preprocessor.
> >>
> >> Perhaps you need an additional package installed that provides
> >> panel.h?
> >>
> >> 73, Nate
> >>
> >
> >
> 
> 
> ___
> Tlf-devel mailing list
> Tlf-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tlf-devel



-- 
"Do what is needful!"
Ursula LeGuin: Earthsea
--


___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread David Quental

Hi Thomas,

tks for your answer.

Well, after I sent my first email I remembered about my linux version, 
then it was a bit late.


I use the development version from github and my linux version is 
OpenSuSE Leap 42.1.


Best 73.

CT1DRB
David Quental

Às 15:33 de 06-12-2015, Thomas Beierlein escreveu:

Hi David,

what version of tlf do you use -  tlf-1.2.2 or the development version
from github? And please tell us which linux version you have installed.

Am Sun, 6 Dec 2015 13:30:57 + schrieb David Quental
:


Hello all,

I have been having problems to compile TLF:

make[2]: Entering directory '/home/ct1drb/tlf/src'
CC   keyer.o
keyer.c:31:19: fatal error: panel.h: No such file or directory
   #include 
 ^
compilation terminated.
Makefile:547: recipe for target 'keyer.o' failed
make[2]: *** [keyer.o] Error 1

I know how to solve it, just to add the path for panel.h,
/usr/include/ncurses/.

Can you please tell me where you add the path? Normally the path to
panel.h gets determined by running ./configure. It is already needed or
all #includes to . So there should be no error at all or an
error for each file which includes .

73, de Tom DL1JBE


However, when I perform command git pull it
gives me problems with the changed files.

Is there a way to solve it ?

Looking forward to reading from you.

Best 73.

CT1DRB
David Quental

___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel






___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread Nate Bargmann
* On 2015 06 Dec 10:05 -0600, David Quental wrote:
> Hi Thomas,
> 
> tks for your email.
> 
> I removed the tlf directory, then installed it again.
> 
> In fact the 2 lines are here when I type './configure'. However, it does not
> compile yet:
> 
> keyer.c:31:19: fatal error: panel.h: No such file or directory
>  #include 
>^
> compilation terminated.
> Makefile:547: recipe for target 'keyer.o' failed
> make[2]: *** [keyer.o] Error 1

David, if you use the command:

locate panel.h

do you get anything?  I have the mlocate Debian package installed that
provides a handy database to find files quickly using the 'locate'
command.  Here is what I get:

$ locate panel.h
/usr/include/panel.h
/usr/include/ncursesw/panel.h
/usr/share/doc/python2.7/html/library/curses.panel.html
/usr/src/linux-headers-3.16.0-4-amd64/include/config/input/apanel.h
/usr/src/linux-headers-3.16.0-4-common/include/drm/drm_panel.h

The first two are the ones used by the C preprocessor.

Perhaps you need an additional package installed that provides panel.h?

73, Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread Thomas Beierlein
Am Sun, 6 Dec 2015 15:36:16 +
schrieb David Quental :

> Hi Thomas,
> 
> tks for your answer.
> 
> Well, after I sent my first email I remembered about my linux
> version, then it was a bit late.
> 
> I use the development version from github and my linux version is 
> OpenSuSE Leap 42.1.
> 
Ok, did you run the 'autoreconf -i' step after download? It is needed
if you work from the git repo.

If I run './configure' afterwards here i get the following two lines in
the output:

...
checking for initscr in -lncurses... yes
checking for update_panels in -lpanel... yes
...

What does it give at your side?

73, Tom

> Best 73.
> 
> CT1DRB
> David Quental
> 
> Às 15:33 de 06-12-2015, Thomas Beierlein escreveu:
> > Hi David,
> >
> > what version of tlf do you use -  tlf-1.2.2 or the development
> > version from github? And please tell us which linux version you
> > have installed.
> >
> > Am Sun, 6 Dec 2015 13:30:57 + schrieb David Quental
> > :
> >
> >> Hello all,
> >>
> >> I have been having problems to compile TLF:
> >>
> >> make[2]: Entering directory '/home/ct1drb/tlf/src'
> >> CC   keyer.o
> >> keyer.c:31:19: fatal error: panel.h: No such file or directory
> >>#include 
> >>  ^
> >> compilation terminated.
> >> Makefile:547: recipe for target 'keyer.o' failed
> >> make[2]: *** [keyer.o] Error 1
> >>
> >> I know how to solve it, just to add the path for panel.h,
> >> /usr/include/ncurses/.
> > Can you please tell me where you add the path? Normally the path to
> > panel.h gets determined by running ./configure. It is already
> > needed or all #includes to . So there should be no error
> > at all or an error for each file which includes .
> >
> > 73, de Tom DL1JBE
> >
> >> However, when I perform command git pull it
> >> gives me problems with the changed files.
> >>
> >> Is there a way to solve it ?
> >>
> >> Looking forward to reading from you.
> >>
> >> Best 73.
> >>
> >> CT1DRB
> >> David Quental
> >>
> >> ___
> >> Tlf-devel mailing list
> >> Tlf-devel@nongnu.org
> >> https://lists.nongnu.org/mailman/listinfo/tlf-devel
> >
> >
> 
> 
> ___
> Tlf-devel mailing list
> Tlf-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tlf-devel



-- 
"Do what is needful!"
Ursula LeGuin: Earthsea
--


___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread David Quental

Hi Thomas,

my distribution does not have locate. But here they are commands to 
locate panel.h:


ct1drb@linux-3e3c:~> cd /usr/include/
ct1drb@linux-3e3c:/usr/include> ls -l panel.h
ls: impossível aceder a panel.h: No such file or directory
ct1drb@linux-3e3c:/usr/include> cd ncurses
ct1drb@linux-3e3c:/usr/include/ncurses> ls -l panel.h
-rw-r--r-- 1 root root 4070 Out 25 05:45 panel.h
ct1drb@linux-3e3c:/usr/include/ncurses> cd ..
ct1drb@linux-3e3c:/usr/include> cd ncursesw/
ct1drb@linux-3e3c:/usr/include/ncursesw> ls -l panel.h
-rw-r--r-- 1 root root 4071 Out 25 05:46 panel.h
ct1drb@linux-3e3c:/usr/include/ncursesw>

So, aparently, only /usr/include/ does not have panel.h file, others 
directories have it. I can do a ln -s to /usr/include from 
/usr/include/ncurses/panel.h.


Best 73.

CT1DRB
David Quental


Às 16:50 de 06-12-2015, Nate Bargmann escreveu:

* On 2015 06 Dec 10:05 -0600, David Quental wrote:

Hi Thomas,

tks for your email.

I removed the tlf directory, then installed it again.

In fact the 2 lines are here when I type './configure'. However, it does not
compile yet:

keyer.c:31:19: fatal error: panel.h: No such file or directory
  #include 
^
compilation terminated.
Makefile:547: recipe for target 'keyer.o' failed
make[2]: *** [keyer.o] Error 1

David, if you use the command:

locate panel.h

do you get anything?  I have the mlocate Debian package installed that
provides a handy database to find files quickly using the 'locate'
command.  Here is what I get:

$ locate panel.h
/usr/include/panel.h
/usr/include/ncursesw/panel.h
/usr/share/doc/python2.7/html/library/curses.panel.html
/usr/src/linux-headers-3.16.0-4-amd64/include/config/input/apanel.h
/usr/src/linux-headers-3.16.0-4-common/include/drm/drm_panel.h

The first two are the ones used by the C preprocessor.

Perhaps you need an additional package installed that provides panel.h?

73, Nate




___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread Nate Bargmann
* On 2015 06 Dec 14:06 -0600, David Quental wrote:
> Hi Nate,
> 
> tks for your email and patch.
> 
> Well, it did not work out:
> 
> keyer.c:31:19: fatal error: panel.h: No such file or directory
>  #include 
>^
> compilation terminated.
> Makefile:547: recipe for target 'keyer.o' failed
> make[2]: *** [keyer.o] Error 1

No problem, I expected that.  Please send me the config.h file from the
build directory.

73, Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread David Quental

Hi Nate,

tks for your email.

Ok, I will send file right now.

Best 73.

CT1DRB
David Quental


Às 23:41 de 06-12-2015, Nate Bargmann escreveu:

* On 2015 06 Dec 14:06 -0600, David Quental wrote:

Hi Nate,

tks for your email and patch.

Well, it did not work out:

keyer.c:31:19: fatal error: panel.h: No such file or directory
  #include 
^
compilation terminated.
Makefile:547: recipe for target 'keyer.o' failed
make[2]: *** [keyer.o] Error 1

No problem, I expected that.  Please send me the config.h file from the
build directory.

73, Nate



/* config.h.  Generated from config.h.in by configure.  */
/* config.h.in.  Generated from configure.ac by autoheader.  */

/* Define to 1 if you have the  header file. */
#define HAVE_ARPA_INET_H 1

/* Define to 1 if you have the `bzero' function. */
#define HAVE_BZERO 1

/* Define to 1 if you have the  header file. */
#define HAVE_FCNTL_H 1

/* Define to 1 if you have the `floor' function. */
#define HAVE_FLOOR 1

/* Define to 1 if you have the `ftruncate' function. */
#define HAVE_FTRUNCATE 1

/* Define to 1 if you have the `gethostbyname' function. */
#define HAVE_GETHOSTBYNAME 1

/* Define to 1 if you have the  header file. */
#define HAVE_HAMLIB_RIG_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the `hamlib' library (-lhamlib). */
#define HAVE_LIBHAMLIB 1

/* Define to 1 if you have the `m' library (-lm). */
#define HAVE_LIBM 1

/* Define to 1 if you have the `ncurses' library (-lncurses). */
#define HAVE_LIBNCURSES 1

/* Define to 1 if you have the `panel' library (-lpanel). */
#define HAVE_LIBPANEL 1

/* Define to 1 if you have the `pthread' library (-lpthread). */
#define HAVE_LIBPTHREAD 1

/* Define to 1 if you have the `xmlrpc' library (-lxmlrpc). */
/* #undef HAVE_LIBXMLRPC */

/* Define to 1 if you have the `xmlrpc_client' library (-lxmlrpc_client). */
/* #undef HAVE_LIBXMLRPC_CLIENT */

/* Define to 1 if you have the `xmlrpc_util' library (-lxmlrpc_util). */
/* #undef HAVE_LIBXMLRPC_UTIL */

/* Define to 1 if you have the  header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1

/* Define to 1 if you have the `mkfifo' function. */
#define HAVE_MKFIFO 1

/* Define to 1 if you have the  header file. */
#define HAVE_NETDB_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_NETINET_IN_H 1

/* Define if you have POSIX threads libraries and header files. */
#define HAVE_PTHREAD 1

/* Define to 1 if you have the `putenv' function. */
#define HAVE_PUTENV 1

/* Define to 1 if you have the `select' function. */
#define HAVE_SELECT 1

/* Define to 1 if you have the `socket' function. */
#define HAVE_SOCKET 1

/* Define to 1 if you have the `sqrt' function. */
#define HAVE_SQRT 1

/* Define to 1 if stdbool.h conforms to C99. */
#define HAVE_STDBOOL_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1

/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1

/* Define to 1 if you have the `strcspn' function. */
#define HAVE_STRCSPN 1

/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1

/* Define to 1 if you have the `strftime' function. */
#define HAVE_STRFTIME 1

/* Define to 1 if you have the  header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strpbrk' function. */
#define HAVE_STRPBRK 1

/* Define to 1 if you have the `strspn' function. */
#define HAVE_STRSPN 1

/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1

/* Define to 1 if you have the  header file. */
#define HAVE_SYSLOG_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_SYS_IOCTL_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_SYS_SOCKET_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_SYS_TIME_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_TERMIOS_H 1

/* Define to 1 if you have the  header file. */
#define HAVE_UNISTD_H 1

/* Define to 1 if you have the  header file. */
/* #undef HAVE_XMLRPC_C_BASE_H */

/* Define to 1 if you have the  header file. */
/* #undef HAVE_XMLRPC_C_CLIENT_H */

/* Define to 1 if the system has the type `_Bool'. */
#define HAVE__BOOL 1

/* Name of package */
#define PACKAGE "tlf"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "r...@couperus.com es t...@forth-ev.de es airw...@gmail.com"

/* package_data_dir is in prefix */
#define PACKAGE_DATA_DIR "/usr/local/share/tlf"

/* Define to the full name of this 

Re: [Tlf-devel] Problem to compile TLF.

2015-12-06 Thread Nate Bargmann
* On 2015 06 Dec 18:38 -0600, David Quental wrote:
> Well, I did not do command git checkout search-for-panel. Instead I did a
> mkdir N0NB command, then I did git clone https://github.com/N0NB/tlf.git
> inside of the new directory.
> 
> Where do I perform command git checkout search-for-panel ? Inside the tlf
> directory ?

Yes, that is where it needs to be done.  Of course I am assuming that
you have Git installed.

73, Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel