Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-14-2009, 08:11 AM   #1
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

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??

Old 02-14-2009, 10:28 AM   #2
Registered: Jan 2009
Posts: 39

Rep: Reputation: 16
yum install glibc-headers



should solve you

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

Rep: Reputation: Disabled

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.

Old 03-03-2009, 09:26 AM   #4
Registered: Jan 2009
Posts: 39

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

[root@localhost ~]# rpm -fq /usr/include/string.h

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 :


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:17 PM
FC10 KDE 4 dissatisfactions... how to fix? Specifically the horrible tasklist widget. rylan76 Fedora 6 05-28-2009 02:00 PM
fc10 x fails to start when monitor turned off gfem Fedora 1 02-12-2009 06:53 PM
missing stropts.h on Fedora 9 64-bit linux001 Fedora 2 11-06-2008 06:54 PM
Firefox compile fails; missing nsICookiePromptService.h weibullguy Linux - Software 0 10-27-2006 03:55 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:50 AM.

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