Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th July 2008, 05:09 AM
sandwich Offline
Registered User
 
Join Date: Oct 2007
Posts: 26
Question error: stropts.h: No such file or directory

mkdir gftp
cd gftp
wget http://gftp.seul.org/gftp-2.0.18.tar.bz2
wget http://www.teatime.com.tw/%7Etommy/l...charsets.patch
tar xjvf gftp-2.0.18.tar.bz2
patch -p0 < gftp_remote_charsets.patch
cd gftp-2.0.18
./configure
sudo make

pty.c:65:21: error: stropts.h: No such file or directory
make[3]: *** [pty.o] Error 1
make[3]: Leaving directory `/home/sandwich/Download/gftp-2.0.18/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sandwich/Download/gftp-2.0.18/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sandwich/Download/gftp-2.0.18'

how can I fix the problem
Reply With Quote
  #2  
Old 19th July 2008, 05:20 AM
sandwich Offline
Registered User
 
Join Date: Oct 2007
Posts: 26
I search the Internet and find:

stropts.h: No such file or directory

If during compilation your compiler complains about missing "stropts.h", don't wary. Most probably you are running on MacOS X 10.3 or FreeBSD 6.0 or NetBSD 3.0 or OpenBSD 3.8 or Cygwin or mingw or BeOS... or Fedora 9 (probably all modern Linux'es).

Simply to say, your system doesn't support STREAMS.

Linux espesially:

Linux doesn't support STREAMS (many years ago it was available as a third party module, but it hasn't worked for years). stropts.h is part of a POSIX XSR option, which Linux now, matching reality, says it is not supported.

and here we have the POSIX recommended check:


#include <unistd.h>
#if defined _XOPEN_STREAMS && _XOPEN_STREAMS == -1
/* XSR option is not available, headers, data types etc. may not be available. */
#endif


But how I install gftp using the make????
Reply With Quote
  #3  
Old 19th July 2008, 06:12 AM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Why are you making gftp? Check yum first before you waste your time building it.

Code:
[marc@kiriyamablevins ~]$ su -
Password:
[root@kiriyamablevins ~]# yum search gftp
kriehn                                                                                                                                |  951 B     00:00
livna                                                                                                                                 | 2.1 kB     00:00
fedora                                                                                                                                | 2.4 kB     00:00
updates                                                                                                                               | 2.3 kB     00:00
primary.sqlite.bz2                                                                                                                    | 1.9 MB     00:09
======================================================================= Matched: gftp =======================================================================
gftp.i386 : A multi-threaded FTP client for the X Window System
[root@kiriyamablevins ~]#
Use:
Code:
su -
yum install gftp
Reply With Quote
  #4  
Old 6th August 2009, 12:51 PM
urkon Offline
Registered User
 
Join Date: Jun 2009
Posts: 5
linuxfedorafirefox
I have the same issue "error: stropts.h: No such file or directory" on fedora 11 x86_64 when building some proprietary sw which I do not know in details, but it is purposed to communicate trough fifo-s.

This issue is not the case on OpenSuse 10.3.
Is it possible to get this header trough some yum package or is it safe to copy manually from other source (opensuse perhaps)?

Any help would be highly appreciated.

I can not help myself with yum.
Reply With Quote
  #5  
Old 6th August 2009, 01:08 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Quote:
Originally Posted by urkon View Post
I have the same issue "error: stropts.h: No such file or directory" on fedora 11 x86_64 when building some proprietary sw which I do not know in details, but it is purposed to communicate trough fifo-s.

This issue is not the case on OpenSuse 10.3.
Is it possible to get this header trough some yum package or is it safe to copy manually from other source (opensuse perhaps)?

Any help would be highly appreciated.

I can not help myself with yum.

Patch it

http://cvs.fedoraproject.org/viewvc/...h?revision=1.2
Reply With Quote
  #6  
Old 6th August 2009, 01:49 PM
urkon Offline
Registered User
 
Join Date: Jun 2009
Posts: 5
linuxfedorafirefox
Quote:
Originally Posted by leigh123linux View Post
Thanx for no time replay.

But I do not have issue with gftp. I am working on code for which is meant to be running on arm. And it does because I compile it with cross compiler 3.2.
For development I am using PC with fedora where I have a lot friendlier environment, for testing too.
What I would like to do is, build this code to be able to run it on my PC with installed Fedora 11.

I would be happy if could change my environment to do so instead of changing unknown and working code.

Thanks again.
Reply With Quote
  #7  
Old 6th August 2009, 01:58 PM
urkon Offline
Registered User
 
Join Date: Jun 2009
Posts: 5
linuxfedorafirefox
Maybe I have something.

$ yum provides */stropts.h
...
arm-gp2x-linux-glibc-2.3.6-6.fc11.noarch : Cross Compiled GNU C Library targeted at arm-gp2x-linux
Repo : fedora
Matched from:
Filename : /usr/arm-gp2x-linux/include/stropts.h
Filename : /usr/arm-gp2x-linux/include/sys/stropts.h
Filename : /usr/arm-gp2x-linux/include/bits/stropts.h


xulrunner-devel-1.9.1.2-1.fc11.x86_64 : Development files for Gecko
Repo : updates
Matched from:
Filename : /usr/include/xulrunner-sdk-1.9.1/system_wrappers/stropts.h
Filename : /usr/include/xulrunner-sdk-1.9.1/system_wrappers_js/stropts.h

...

I am not sure yet how can that help me. But it is worth trying.
Reply With Quote
  #8  
Old 13th October 2009, 03:33 AM
masch Offline
Registered User
 
Join Date: Dec 2007
Posts: 67
linuxsafari
Hello, guys!.. I'm having the same issue during the compilation of ACE-5.4.4 TAO-1.4.4. Doing some
research I found some problems with the stream support in Linux, please take a look:

http://www.archivum.info/comp.soft-s...-04/00069/Re:_[tao-
users]_PRF:_Autobuild_on_Fedora_Rawhide_(GCC_4.3.0)_is_a _no-go

https://bugzilla.redhat.com/show_bug.cgi?id=439403

Is there any workaround to fix it? I have the header in Fedora Core 3, but I trying to make it work in Fedora 11, Is it possible?


Thanks and Regards!
Salu2...
masch...
Reply With Quote
  #9  
Old 13th October 2009, 11:12 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
linuxfirefox
You can get ACE+TAO RPM pacakges for Fedora 11 here: http://dist.bonsai.com/ken/ace_tao_rpm/
Reply With Quote
Reply

Tags
directory, error, file, stroptsh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
error:stdio.h:no such file or directory oknee Installation and Live Media 3 3rd August 2008 07:06 PM
error: linux/mm.h: No such file or directory sciconf Using Fedora 0 7th August 2006 08:49 PM
FC5 - error: X11/Intrinsic.h: No such file or directory aeldaly Using Fedora 3 3rd April 2006 10:30 PM
Bad ELF interpreter error: no such ld-linux-so.1 file or directory mizak Using Fedora 3 1st January 2006 06:21 AM
Install source. RPM error No such file or directory unapproved Using Fedora 1 31st August 2005 02:51 AM


Current GMT-time: 23:52 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat