Building problems on red hat enterprise linux (rhel)

This is a discussion on Building problems on red hat enterprise linux (rhel) within the Pine forums in Other Technologies category; Hi I just got a new Linux computer at work. I'm much more comfortable running OS X, where I have alpine comfortably running (and compiling, when needed). I figured compiling on Linux would be snap, but I appear to be wrong. I do the normal jig, download the source, apply some simple patches that I like, configure --prefix=/usr/local, then make. The make fails with what appears to be this error: /bin/sh ../../../libtool --tag=CC --mode=compile gcc -std=gnu99 - DHAVE_CONFIG_H -I../../../include -I../../../include -I/etc/pki/tls/ include -g -g -O2 -MT wpcomm.lo -MD -MP -MF .deps/wpcomm.Tpo -c -o wpcomm.lo wpcomm.c mkdir .libs gcc -std=gnu99 -DHAVE_CONFIG_H ...

Go Back   Application Development Forum > Other Technologies > Pine

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-30-2008, 10:30 AM
Tim Gray
Guest
 
Default Building problems on red hat enterprise linux (rhel)

Hi I just got a new Linux computer at work. I'm much more comfortable
running OS X, where I have alpine comfortably running (and compiling,
when needed).

I figured compiling on Linux would be snap, but I appear to be wrong.
I do the normal jig, download the source, apply some simple patches
that I like, configure --prefix=/usr/local, then make. The make fails
with what appears to be this error:

/bin/sh ../../../libtool --tag=CC --mode=compile gcc -std=gnu99 -
DHAVE_CONFIG_H -I../../../include -I../../../include -I/etc/pki/tls/
include -g -g -O2 -MT wpcomm.lo -MD -MP -MF .deps/wpcomm.Tpo -c -o
wpcomm.lo wpcomm.c
mkdir .libs
gcc -std=gnu99 -DHAVE_CONFIG_H -I../../../include -I../../../include -
I/etc/pki/tls/include -g -g -O2 -MT wpcomm.lo -MD -MP -MF .deps/
wpcomm.Tpo -c wpcomm.c -fPIC -DPIC -o .libs/wpcomm.o
wpcomm.c:19:17: error: tcl.h: No such file or directory
wpcomm.c:33: error: expected ')' before '*' token
wpcomm.c:44: error: expected ')' before '*' token
wpcomm.c:68: error: expected ')' before 'clientData'


Any ideas? Thanks!
Reply With Quote
  #2  
Old 07-30-2008, 12:32 PM
Eduardo Chappa
Guest
 
Default Re: Building problems on red hat enterprise linux (rhel)

On Wed, 30 Jul 2008, Tim Gray wrote:

I figured compiling on Linux would be snap, but I appear to be wrong. I
do the normal jig, download the source, apply some simple patches that
I like, configure --prefix=/usr/local, then make. The make fails with
what appears to be this error:

wpcomm.c:19:17: error: tcl.h: No such file or directory

Install tcl in that computer or run configure as

../configure --without-tcl

See "./configure --help | grep tcl" in case tcl is in a special place in
your system.

--
Eduardo
http://staff.washington.edu/chappa/alpine/
Reply With Quote
  #3  
Old 07-30-2008, 01:19 PM
Tim Gray
Guest
 
Default Re: Building problems on red hat enterprise linux (rhel)

On Jul 30, 12:32*pm, Eduardo Chappa <cha...@u.washington.edu> wrote:
> Install tcl in that computer or run configure as
>
> ./configure *--without-tcl


Thank you sir. Seems to work now.

Now if I could only figure out why it can't read my remote
configuration file... But that seems to be some other kind of
problem. Once alpine is loaded with a local config, it works fine...
Reply With Quote
  #4  
Old 08-12-2008, 06:52 PM
Crazy Canadian
Guest
 
Default Re: Building problems on red hat enterprise linux (rhel)

On Jul 30, 10:30*am, Tim Gray <tg...@125px.com> wrote:
> wpcomm.c:19:17: error: tcl.h: No such file or directory
> wpcomm.c:33: error: expected ')' before '*' token
> wpcomm.c:44: error: expected ')' before '*' token
> wpcomm.c:68: error: expected ')' before 'clientData'
>
> Any ideas? *Thanks!


A few things -- is tcl installed? If you're running RedHat you can
try:

yum install tcl
and
yum install tcl-devel

In my reading it looks like tcl is needed for alpine web only...but I
haven't tried a compilet without tcl
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:44 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.