LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2009, 07:11 AM   #1
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
FC10 - gftp compile fails with missing stropts.h - how to fix?


Hi Guys

I'm trying to compile gftp on Fedora Core 10 - configure works but when compiling it fails with

Code:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -D_REENTRANT -I../intl-DSHARE_DIR=\"/usr/local/share/gftp\" -DLOCALE_DIR=\"/usr/local/share/locale\"    -O3 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -funroll-loops -funroll-all-loops -fforce-addr -finline-functions -frerun-loop-opt -falign-loops=4 -falign-jumps=4 -falign-functions=4 -march=i686 -mmmx -msse2 -MT pty.o -MD -MP -MF ".deps/pty.Tpo" -c -o pty.o pty.c; \
        then mv -f ".deps/pty.Tpo" ".deps/pty.Po"; else rm -f ".deps/pty.Tpo"; exit 1; fi
pty.c:65:21: error: stropts.h: No such file or directory
make[3]: *** [pty.o] Error 1
make[3]: Leaving directory `/home/rylan/gftp-2.0.19/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rylan/gftp-2.0.19/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rylan/gftp-2.0.19'
make: *** [all] Error 2
[rylan@StefanLinux gftp-2.0.19]$
It seems like Fedora Core 10 is missing the stropts.h include file in /usr/include?

Any idea how to fix this so that gftp will compile under FC10??

Thanks!
 
Old 02-14-2009, 09:28 AM   #2
unixmen
Member
 
Registered: Jan 2009
Posts: 39

Rep: Reputation: 16
yum install glibc-headers


==========/usr/include/bits/string.h
/usr/include/bits/string2.h
/usr/include/bits/string3.h
/usr/include/bits/stropts.h
/usr/include/bits/sys_errlist.h

=================================

should solve you


Cheers
share knowledge
 
Old 02-26-2009, 03:27 PM   #3
sumathih
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: Disabled
stropts.h

hi unixguy,

i am running fedora 10 on VMWare. i was trying to compile some sample programs from "Advanced programming in the unix environment" download.

i have the same problem as rylan76 had.

but when i tried your posted solution, it never updated anything. so the header file stropts.h was not installed.

i have gnu c installed.

thanks,
sumathi
 
Old 03-03-2009, 08:26 AM   #4
unixmen
Member
 
Registered: Jan 2009
Posts: 39

Rep: Reputation: 16
i'm using Centos 5.2 .

[root@localhost ~]# rpm -fq /usr/include/string.h
glibc-headers-2.5-24.el5_2.2



this file string.h is provided by glibc-headers-2.5-24.el5_2.2
in Fedora 10 string.h profider glibc-headers-2.9-3.i386.rpm


please see the packages files : http://rpm.pbone.net/index.php3/stat/6/idpl/11161451
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to compile mysqlcc-0.9.8 - please help - FC10 with g++ 4.3.2 rylan76 Programming 6 07-02-2010 01:17 PM
FC10 KDE 4 dissatisfactions... how to fix? Specifically the horrible tasklist widget. rylan76 Fedora 6 05-28-2009 01:00 PM
fc10 x fails to start when monitor turned off gfem Fedora 1 02-12-2009 05:53 PM
missing stropts.h on Fedora 9 64-bit linux001 Fedora 2 11-06-2008 05:54 PM
Firefox 1.5.0.7 compile fails; missing nsICookiePromptService.h weibullguy Linux - Software 0 10-27-2006 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration