Here is my osdef.h. You might try using it instead. I am on ubuntu 8.04.
On Mon, 17 Oct 2011, Artur Skonecki wrote:
There is a rule in the Makefile.
osdef.h: osdef.sh config.h osdef.h.in
CPP="$(CPP) $(CPPFLAGS)" srcdir=${srcdir} sh $(srcdir)/osdef.sh
On Mon, 17 Oct 2011, Simón wrote:
And in which moment is created (autogen, configure or make)?
El 17/10/11 20:05, Artur Skonecki escribió:
osdef.h is automatically generated from osdef.h.in
On Mon, 17 Oct 2011, Simón wrote:
Yes, that isn't the problem.
I've searched for the file "osdef.h" and there isn't any package in
Ubuntu that provides it.
But in screen-4.0.3 (tar package from http://ftp.gnu.org/gnu/screen/)
there is this file (osdef.h) in sources but not in git version.
El 17/10/11 19:23, Artur Skonecki escribió:
Have you tried apt-get build-dep screen ?
On Mon, 17 Oct 2011, Simón wrote:
I can compile screen-session but I can't compile screen.
With the screen version of screen-session the error is the same:
$ make
In file included from list_generic.c:24:0:
screen.h:43:19: fatal error: osdef.h: No such file or directory
compilation terminated.
In file included from list_display.c:36:0:
screen.h:43:19: fatal error: osdef.h: No such file or directory
compilation terminated.
make: *** [list_generic.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from list_window.c:31:0:
screen.h:43:19: fatal error: osdef.h: No such file or directory
compilation terminated.
make: *** [list_display.o] Error 1
make: *** [list_window.o] Error 1
Why doesn't it find the osdef.h file if it's in same folder?
El 16/10/11 23:42, Jostein Berntsen escribió:
Hi,
If you can compile the screen-session version, the screen git should
also work. Try to remove your screen directory, download again with
"git clone git://git.savannah.gnu.org/screen.git" and install from the
src directory.
Jostein
On 16.10.11,14:12, Simón wrote:
Ah, ok! I thought so rare that question. XDD
The git version was yesterday: How can I see the concrete version?
I can compile "screen-session". Although it has a rather peculiar
configuration system.
El dom 16 oct 2011 02:50:45 CEST, Jostein Berntsen escribió:
Sorry, that should be which screen git version are you using? Is it
this?
http://savannah.gnu.org/git/?group=screen
Could you try the screen-session version and see if that works?
https://github.com/skoneka/screen-session
This should be quite updated.
Jostein
On 15.10.11,21:35, Simón wrote:
git version 1.7.4.1
But the problem is compiling not downloading the sources.
El sáb 15 oct 2011 17:44:52 CEST, Jostein Berntsen escribió:
On 15.10.11,14:02, Simón wrote:
Hi,
I'm trying to compile the screen git version on Ubuntu Natty 64 bits
but I
can't.
If I execute "./autogen.sh", it shows these warnings:
configure.in:50: warning: AC_TRY_RUN called without default to
allow cross
...
configure.in:48:AC_USE_SYSTEM_EXTENSIONS
The default autoconf version is 2.13.
I configure with: "./configure --enable-locale --enable-colors256
--with-socket-dir=/var/tmp"
But the config.h file is empty and I can't compile.
If I use a more recent autoconf version (2.50), "./autogen.sh" executes
well
without warnings but when I execute configure:
config.status: error: cannot find input file: `config.h.in'
I can compile the last tar.gz version in http://ftp.gnu.org/gnu/screen/
(screen-4.0.3.tar.gz) but how can I compile the git version of Screen?
Regards.
Which git version are you using?
Jostein
_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users
_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users
/*
* This file is automagically created from osdef.sh -- DO NOT EDIT
*/
/* Copyright (c) 1993-2000
* Juergen Weigert (jnwei...@immd4.informatik.uni-erlangen.de)
* Michael Schroeder (mlsch...@immd4.informatik.uni-erlangen.de)
* Copyright (c) 1987 Oliver Laumann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program (see the file COPYING); if not, see
* http://www.gnu.org/licenses/, or contact Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*
****************************************************************
* $Id$ GNU
*/
/****************************************************************
* Thanks to Christos S. Zoulas (chris...@ee.cornell.edu) who
* mangled the screen source through 'gcc -Wall'.
****************************************************************
*/
#ifdef USEVARARGS
#endif
#ifdef LOG_NOTICE
#endif
#if defined(sun) || defined(_SEQUENT_)
extern int _flsbuf __P((int, FILE *));
#endif
#ifdef SYSV
#else
#endif
#ifndef USEBCOPY
# ifdef USEMEMCPY
# else
# ifdef USEMEMMOVE
# else
# endif
# endif
#else
#endif
#ifdef BSDWAIT
#else
#endif
#ifdef HAVE_SETRESUID
#endif
#ifdef HAVE_SETREUID
#endif
#ifdef HAVE_SETEUID
#endif
extern int tgetent __P((char *, char *));
extern char *tgetstr __P((char *, char **));
extern int tgetnum __P((char *));
extern int tgetflag __P((char *));
extern void tputs __P((char *, int, int (*)(int)));
extern char *tgoto __P((char *, int, int));
#ifdef POSIX
#endif
#ifdef NAMEDPIPE
#else
#endif
#if defined(UTMPOK) && defined(GETUTENT)
#endif
#if defined(sequent) || defined(_SEQUENT_)
extern int getpseudotty __P((char **, char **));
#ifdef _SEQUENT_
extern int fvhangup __P((char *));
#endif
#endif
#ifdef HAVE_UTIMES
#endif
# if defined(GETTTYENT) && !defined(GETUTENT) && !defined(UTNOKEEP)
struct ttyent; /* for getttyent __P */
extern void setttyent __P((void));
extern struct ttyent *getttyent __P((void));
# endif
#ifdef SVR4
#endif
struct stat;
#if defined(LOADAV) && defined(LOADAV_GETLOADAVG)
extern int getloadavg(double *, int);
#endif
_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users