all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [23.0.60] fails to build with "--without-x " option
@ 2008-05-15  0:54 sangu
  2008-05-15 15:45 ` İsmail Dönmez
  2008-05-16  2:51 ` Brad Walker
  0 siblings, 2 replies; 5+ messages in thread
From: sangu @ 2008-05-15  0:54 UTC (permalink / raw)
  To: emacs-devel

emacs]$ configure --without-x
[...]
 Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    none
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                NONE
  Where do we find X Windows libraries?                   NONE
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use a gif library?                           no 
  Does Emacs use -lpng?                                   no
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  yes
  Does Emacs use X toolkit scroll bars?                   no

emacs]$ make
.
.
.
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I.
-I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/freetype2
-I/usr/include/alsa  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-g -O2 -Wno-pointer-sign  -I/usr/include/freetype2 xfaces.c
xfaces.c: In function ‘merge_face_vectors’:
xfaces.c:2524: error: ‘FONT_SIZE_INDEX’ undeclared (first use in this
function)
xfaces.c:2524: error: (Each undeclared identifier is reported only once
xfaces.c:2524: error: for each function it appears in.)
xfaces.c:2540: error: ‘FONT_FAMILY_INDEX’ undeclared (first use in this
function)
xfaces.c:2541: error: ‘FONT_WIDTH_INDEX’ undeclared (first use in this
function)
xfaces.c:2543: error: ‘FONT_WEIGHT_INDEX’ undeclared (first use in this
function)
xfaces.c:2544: error: ‘FONT_SLANT_INDEX’ undeclared (first use in this
function)
xfaces.c: In function ‘merge_face_ref’:
xfaces.c:2670: error: ‘FONT_FAMILY_INDEX’ undeclared (first use in this
function)
xfaces.c:2683: error: ‘FONT_SIZE_INDEX’ undeclared (first use in this
function)
xfaces.c:2693: error: ‘FONT_WEIGHT_INDEX’ undeclared (first use in this
function)
xfaces.c:2703: error: ‘FONT_SLANT_INDEX’ undeclared (first use in this
function)
xfaces.c:2784: error: ‘FONT_WIDTH_INDEX’ undeclared (first use in this
function)
xfaces.c: In function ‘Finternal_set_lisp_face_attribute’:
xfaces.c:3018: error: variable ‘prop_index’ has initializer but
incomplete type
xfaces.c:3018: error: storage size of ‘prop_index’ isn’t known
xfaces.c:3073: error: ‘FONT_FAMILY_INDEX’ undeclared (first use in this
function)
xfaces.c:3094: error: ‘FONT_SIZE_INDEX’ undeclared (first use in this
function)
xfaces.c:3106: error: ‘FONT_WEIGHT_INDEX’ undeclared (first use in this
function)
xfaces.c:3118: error: ‘FONT_SLANT_INDEX’ undeclared (first use in this
function)
xfaces.c:3286: error: ‘FONT_WIDTH_INDEX’ undeclared (first use in this
function)
xfaces.c: In function ‘Fface_font’:
xfaces.c:4022: error: dereferencing pointer to incomplete type
xfaces.c:4022: error: ‘FONT_NAME_INDEX’ undeclared (first use in this
function)
make[1]: *** [xfaces.o] Error 1
make[1]: Leaving directory `/home/sangu/Work/cvs/emacs/src'
make: *** [src] Error 2






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [23.0.60] fails to build with "--without-x " option
  2008-05-15  0:54 [23.0.60] fails to build with "--without-x " option sangu
@ 2008-05-15 15:45 ` İsmail Dönmez
  2008-05-16  2:51 ` Brad Walker
  1 sibling, 0 replies; 5+ messages in thread
From: İsmail Dönmez @ 2008-05-15 15:45 UTC (permalink / raw)
  To: sangu; +Cc: emacs-devel

Hi,

On Thu, May 15, 2008 at 3:54 AM, sangu <sangu.xorg@gmail.com> wrote:
> emacs]$ configure --without-x
> [...]
> gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I.
> -I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/freetype2
> -I/usr/include/alsa  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -g -O2 -Wno-pointer-sign  -I/usr/include/freetype2 xfaces.c
> xfaces.c: In function 'merge_face_vectors':
> xfaces.c:2524: error: 'FONT_SIZE_INDEX' undeclared (first use in this
> function)
> xfaces.c:2524: error: (Each undeclared identifier is reported only once
> xfaces.c:2524: error: for each function it appears in.)
> xfaces.c:2540: error: 'FONT_FAMILY_INDEX' undeclared (first use in this
> function)
> xfaces.c:2541: error: 'FONT_WIDTH_INDEX' undeclared (first use in this
> function)
> xfaces.c:2543: error: 'FONT_WEIGHT_INDEX' undeclared (first use in this
> function)
> xfaces.c:2544: error: 'FONT_SLANT_INDEX' undeclared (first use in this
> function)
> xfaces.c: In function 'merge_face_ref':
> xfaces.c:2670: error: 'FONT_FAMILY_INDEX' undeclared (first use in this
> function)
> xfaces.c:2683: error: 'FONT_SIZE_INDEX' undeclared (first use in this
> function)
> xfaces.c:2693: error: 'FONT_WEIGHT_INDEX' undeclared (first use in this
> function)
> xfaces.c:2703: error: 'FONT_SLANT_INDEX' undeclared (first use in this
> function)
> xfaces.c:2784: error: 'FONT_WIDTH_INDEX' undeclared (first use in this
> function)
> xfaces.c: In function 'Finternal_set_lisp_face_attribute':
> xfaces.c:3018: error: variable 'prop_index' has initializer but
> incomplete type
> xfaces.c:3018: error: storage size of 'prop_index' isn't known
> xfaces.c:3073: error: 'FONT_FAMILY_INDEX' undeclared (first use in this
> function)
> xfaces.c:3094: error: 'FONT_SIZE_INDEX' undeclared (first use in this
> function)
> xfaces.c:3106: error: 'FONT_WEIGHT_INDEX' undeclared (first use in this
> function)
> xfaces.c:3118: error: 'FONT_SLANT_INDEX' undeclared (first use in this
> function)
> xfaces.c:3286: error: 'FONT_WIDTH_INDEX' undeclared (first use in this
> function)
> xfaces.c: In function 'Fface_font':
> xfaces.c:4022: error: dereferencing pointer to incomplete type
> xfaces.c:4022: error: 'FONT_NAME_INDEX' undeclared (first use in this
> function)
> make[1]: *** [xfaces.o] Error 1
> make[1]: Leaving directory `/home/sangu/Work/cvs/emacs/src'
> make: *** [src] Error 2

I can confirm this on MacOSX Leopard too.

Regards,
ismail

-- 
Never learn by your mistakes, if you do you may never dare to try again.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [23.0.60] fails to build with "--without-x " option
  2008-05-15  0:54 [23.0.60] fails to build with "--without-x " option sangu
  2008-05-15 15:45 ` İsmail Dönmez
@ 2008-05-16  2:51 ` Brad Walker
  2008-05-16 11:23   ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: Brad Walker @ 2008-05-16  2:51 UTC (permalink / raw)
  To: sangu; +Cc: emacs-devel

On Thu, 2008-05-15 at 09:54 +0900, sangu wrote: 
> emacs]$ configure --without-x

> gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I.
> -I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/freetype2
> -I/usr/include/alsa  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -g -O2 -Wno-pointer-sign  -I/usr/include/freetype2 xfaces.c
> xfaces.c: In function ‘merge_face_vectors’:
> xfaces.c:2524: error: ‘FONT_SIZE_INDEX’ undeclared (first use in this
> function)

I have this problem on Fedora 9 x86_64.

Brad Walker




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [23.0.60] fails to build with "--without-x " option
  2008-05-16  2:51 ` Brad Walker
@ 2008-05-16 11:23   ` Eli Zaretskii
  2008-05-16 11:52     ` Kenichi Handa
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2008-05-16 11:23 UTC (permalink / raw)
  To: me; +Cc: sangu.xorg, emacs-devel

> From: Brad Walker <me@bradmwalker.com>
> Date: Thu, 15 May 2008 20:51:02 -0600
> Cc: emacs-devel@gnu.org
> 
> On Thu, 2008-05-15 at 09:54 +0900, sangu wrote: 
> > emacs]$ configure --without-x
> 
> > gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I.
> > -I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/freetype2
> > -I/usr/include/alsa  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> > -g -O2 -Wno-pointer-sign  -I/usr/include/freetype2 xfaces.c
> > xfaces.c: In function `merge_face_vectors':
> > xfaces.c:2524: error: `FONT_SIZE_INDEX' undeclared (first use in this
> > function)
> 
> I have this problem on Fedora 9 x86_64.

Confirmed.  It looks like the latest font backend was not coded with
the --without-x build in mind, because it doesn't have the necessary
font-related substitutes for the tty-only case, like the old code did.

I fixed a few obvious problems in xfaces.c, which gets me through the
compilation stage, but fails during linking thusly:

  xfaces.o: In function `merge_face_ref':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:2700: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:2712: undefined reference to `FONT_SLANT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:2795: undefined reference to `FONT_WIDTH_NAME_NUMERIC'
  xfaces.o: In function `Finternal_set_lisp_face_attribute':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:3123: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:3137: undefined reference to `FONT_SLANT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:3307: undefined reference to `FONT_WIDTH_NAME_NUMERIC'
  xfaces.o: In function `Finternal_set_font_selection_order':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:5389: undefined reference to `font_update_sort_order'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:5389: undefined reference to `font_update_sort_order'
  xfaces.o: In function `realize_tty_face':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:6061: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:6062: undefined reference to `FONT_SLANT_NAME_NUMERIC'
  xfaces.o: In function `tty_supports_face_attributes_p':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:5119: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:5122: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  print.o: In function `print_object':/home/e/eliz/emacs.cvs/emacs/src/print.c:2147: undefined reference to `font_style_symbolic'
  collect2: ld returned 1 exit status

Perhaps someone else could pick up where I left off.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [23.0.60] fails to build with "--without-x " option
  2008-05-16 11:23   ` Eli Zaretskii
@ 2008-05-16 11:52     ` Kenichi Handa
  0 siblings, 0 replies; 5+ messages in thread
From: Kenichi Handa @ 2008-05-16 11:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: me, sangu.xorg, emacs-devel

In article <uy76aijao.fsf@gnu.org>, Eli Zaretskii <eliz@gnu.org> writes:

> Confirmed.  It looks like the latest font backend was not coded with
> the --without-x build in mind, because it doesn't have the necessary
> font-related substitutes for the tty-only case, like the old code did.

> I fixed a few obvious problems in xfaces.c, which gets me through the
> compilation stage, but fails during linking thusly:

Sorry for my fault.  I'll take care of it after solving the
memory leak problem.

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-16 11:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15  0:54 [23.0.60] fails to build with "--without-x " option sangu
2008-05-15 15:45 ` İsmail Dönmez
2008-05-16  2:51 ` Brad Walker
2008-05-16 11:23   ` Eli Zaretskii
2008-05-16 11:52     ` Kenichi Handa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.