Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok I installed gcc. the ./configure seemed to work just fine so I typed in "make"
this is what I ended up with
Code:
In file included from update.c:35:
main.h:190: warning: ‘struct stat’ declared inside parameter list
main.h:190: warning: its scope is only this definition or declaration, which is probably not what you want
gcc -std=gnu99 -g -O2 -Wl,-O1 -o dpkg archives.o cleanup.o configure.o depcon.o enquiry.o errors.o filesdb.o help.o main.o packages.o processarc.o remove.o select.o update.o ../lib/libdpkg.a
processarc.o: In function `process_archive':
/home/Tech/dpkg/dpkg-1.13.25/src/processarc.c:166: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -DADMINDIR=\"/usr/local/var/dpkg\" -I../lib -g -O2 -MT query.o -MD -MP -MF ".deps/query.Tpo" -c -o query.o query.c; \
then mv -f ".deps/query.Tpo" ".deps/query.Po"; else rm -f ".deps/query.Tpo"; exit 1; fi
gcc -std=gnu99 -g -O2 -Wl,-O1 -o dpkg-query errors.o filesdb.o query.o ../lib/libdpkg.a
make[2]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/src'
Making all in dselect
make[2]: Entering directory `/home/Tech/dpkg/dpkg-1.13.25/dselect'
Making all in methods
make[3]: Entering directory `/home/Tech/dpkg/dpkg-1.13.25/dselect/methods'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/dselect/methods'
Making all in po
make[3]: Entering directory `/home/Tech/dpkg/dpkg-1.13.25/dselect/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/dselect/po'
make[3]: Entering directory `/home/Tech/dpkg/dpkg-1.13.25/dselect'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -DADMINDIR=\"/usr/local/var/dpkg\" -DLIBDIR=\"/usr/local/lib/dpkg\" -I../lib -g -O2 -MT basecmds.o -MD -MP -MF ".deps/basecmds.Tpo" -c -o basecmds.o basecmds.cc; \
then mv -f ".deps/basecmds.Tpo" ".deps/basecmds.Po"; else rm -f ".deps/basecmds.Tpo"; exit 1; fi
In file included from basecmds.cc:33:
dselect.h:31:20: error: curses.h: No such file or directory
In file included from basecmds.cc:33:
dselect.h:56: error: ISO C++ forbids declaration of ‘WINDOW’ with no type
dselect.h:56: error: expected ‘;’ before ‘*’ token
dselect.h:57: error: ISO C++ forbids declaration of ‘WINDOW’ with no type
dselect.h:57: error: expected ‘;’ before ‘*’ token
dselect.h:141: error: variable or field ‘mywerase’ declared void
dselect.h:141: error: ‘WINDOW’ was not declared in this scope
dselect.h:141: error: ‘win’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::kd_redraw()’:
basecmds.cc:87: error: ‘curscr’ was not declared in this scope
basecmds.cc:87: error: ‘TRUE’ was not declared in this scope
basecmds.cc:87: error: ‘clearok’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::kd_searchagain()’:
basecmds.cc:93: error: ‘beep’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::kd_search()’:
basecmds.cc:120: error: ‘querywin’ was not declared in this scope
basecmds.cc:120: error: ‘werase’ was not declared in this scope
basecmds.cc:121: error: ‘mvwaddstr’ was not declared in this scope
basecmds.cc:122: error: ‘echo’ was not declared in this scope
basecmds.cc:123: error: ‘wgetnstr’ was not declared in this scope
basecmds.cc:123: error: ‘ERR’ was not declared in this scope
basecmds.cc:126: error: ‘noecho’ was not declared in this scope
basecmds.cc:127: error: ‘whatinfowin’ was not declared in this scope
basecmds.cc:127: error: ‘touchwin’ was not declared in this scope
basecmds.cc:128: error: ‘infopad’ was not declared in this scope
basecmds.cc:128: error: ‘touchwin’ was not declared in this scope
basecmds.cc:130: error: ‘listpad’ was not declared in this scope
basecmds.cc:130: error: ‘touchwin’ was not declared in this scope
basecmds.cc:133: error: ‘beep’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::displayerror(const char*)’:
basecmds.cc:146: error: ‘beep’ was not declared in this scope
basecmds.cc:147: error: ‘querywin’ was not declared in this scope
basecmds.cc:147: error: ‘werase’ was not declared in this scope
basecmds.cc:148: error: ‘mvwaddstr’ was not declared in this scope
basecmds.cc:150: error: ‘wgetch’ was not declared in this scope
basecmds.cc:151: error: ‘whatinfowin’ was not declared in this scope
basecmds.cc:151: error: ‘touchwin’ was not declared in this scope
basecmds.cc:152: error: ‘infopad’ was not declared in this scope
basecmds.cc:152: error: ‘touchwin’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::displayhelp(const helpmenuentry*, int)’:
basecmds.cc:161: error: ‘stdscr’ was not declared in this scope
basecmds.cc:161: error: ‘getmaxyx’ was not declared in this scope
basecmds.cc:162: error: ‘wbkgdset’ was not declared in this scope
basecmds.cc:163: error: ‘TRUE’ was not declared in this scope
basecmds.cc:163: error: ‘clearok’ was not declared in this scope
basecmds.cc:165: error: ‘werase’ was not declared in this scope
basecmds.cc:168: error: ‘attrset’ was not declared in this scope
basecmds.cc:169: error: ‘mvaddstr’ was not declared in this scope
basecmds.cc:172: error: ‘addstr’ was not declared in this scope
basecmds.cc:173: error: ‘getyx’ was not declared in this scope
basecmds.cc:174: error: ‘addch’ was not declared in this scope
basecmds.cc:179: error: ‘addch’ was not declared in this scope
basecmds.cc:180: error: ‘move’ was not declared in this scope
basecmds.cc:181: error: ‘A_NORMAL’ was not declared in this scope
basecmds.cc:184: error: ‘mvaddstr’ was not declared in this scope
basecmds.cc:186: error: ‘A_BOLD’ was not declared in this scope
basecmds.cc:186: error: ‘attrset’ was not declared in this scope
basecmds.cc:187: error: ‘mvaddch’ was not declared in this scope
basecmds.cc:188: error: ‘A_NORMAL’ was not declared in this scope
basecmds.cc:196: error: ‘refresh’ was not declared in this scope
basecmds.cc:197: error: ‘getch’ was not declared in this scope
basecmds.cc:207: error: ‘werase’ was not declared in this scope
basecmds.cc:209: error: ‘wnoutrefresh’ was not declared in this scope
basecmds.cc:216: error: ‘whatinfowin’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::setcursor(int)’:
basecmds.cc:224: error: ‘listpad’ was not declared in this scope
basecmds.cc:230: error: ‘listpad’ was not declared in this scope
make[3]: *** [basecmds.o] Error 1
make[3]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/dselect'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/dselect'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25'
make: *** [all] Error 2
I am an newbie and have no Idea what this means. thanks for the input.
note that this is just what seems to be the bad part. I didnt want to make you scroll through the stuff that went well.
Last edited by linux hates me; 06-01-2009 at 01:01 PM.
dselect.h:31:20: error: curses.h: No such file or directory
You have to install ncurses-devel. Which software are you trying to install? Have you checked if there is a binary package already compiled for you by the Fedora team?
Why install the package manager of Debian-based system on fedora? If you are looking for a command line package manager, use yum. It is installed by default.
dselect.h:31:20: error: curses.h: No such file or directory
You have to install ncurses-devel. Which software are you trying to install? Have you checked if there is a binary package already compiled for you by the Fedora team?
dpkg is the command that installs .deb files. it was not on yum so I had to install it manually.
dpkg is the command that installs .deb files. it was not on yum so I had to install it manually.
You can't install deb packages on a rpm based system! You can convert deb to rpm packages using alien, but you cannot install a deb directly, so you don't need dpkg.
If conversion with alien doesn't work, you can always try to compile from source: http://launchpad.net/timevault/trunk...t-0.7.2.tar.gz. Or eventually take a look at pybackpack, which has similar functionality and it's available from Fedora repositories.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.