hello i just installed suse 8.2 pro edition and i did full install. i have two problems regarding suse 8.2 and kdevelop, 1. kde documentation doesn't get detected by kdevelop --setup, after manually adding directory, where api docs are stored (in next step), htdig shows up with an error that it can't find htdig.conf! 2. i'm newbie at developing and i need <math.h> header and abs() function from it, it appears that during compile i get error about abs() function not found ?! It all worked fine on preuvisly installed RH8 system. regards, himba
himba <himba@siol.net> [Fri, 09 May 2003 20:07:50 +0200]:
2. i'm newbie at developing and i need <math.h> header and abs() function from it, it appears that during compile i get error about abs() function not found ?!
Headers don't provide functions, that's the job of libraries. All functions declared in math.h are part of libm. libm will not be linked in automatically, so you have to pass either the compiler or the linker the switch -lm. Philipp -- Philipp Thomas work: pthomas@suse.de Development, SuSE Linux AG private: philipp.thomas@t-link.de
hello
i just installed suse 8.2 pro edition and i did full install. i have two problems regarding suse 8.2 and kdevelop, 1. kde documentation doesn't get detected by kdevelop --setup, after manually adding directory, where api docs are stored (in next step), htdig shows up with an error that it can't find htdig.conf! 2. i'm newbie at developing and i need <math.h> header and abs() function from it, it appears that during compile i get error about abs() function not found ?! The prototype for abs() is in stdlib.h not in math.h. It is not a mach
On Fri, 09 May 2003 20:07:50 +0200 himba <himba@siol.net> wrote: library function. The fabs() funciton prototype is in math.h. Again to reiterate a previous response, functions reside in the libraries. abs() resides in libc, fabs() resides in libm. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
Jerry Feldman <gaf@blu.org> [Fri, 9 May 2003 15:43:24 -0400]:
The prototype for abs() is in stdlib.h not in math.h. It is not a mach library function. The fabs() funciton prototype is in math.h. Again to reiterate a previous response, functions reside in the libraries. abs() resides in libc, fabs() resides in libm.
He wrote to me privately (that's what you get for not setting Reply-To) and he actually did need the prototype and discovered on his own that it resides in stdlib.h. Another case of somebody who didn't know how to do 'man abs' and it makes me wonder if ide's like kdevelop makes it too easy for people to program (sort of point-and-klick programming :). Don't get me wrong: I do think they can be helpful for those that know what happens underneath. But for those that don't ..... Philipp -- Philipp Thomas work: pthomas@suse.de Development, SuSE Linux AG private: philipp.thomas@t-link.de
On Sat, 10 May 2003 00:21:01 +0200 Philipp Thomas <philipp.thomas@t-link.de> wrote:
Another case of somebody who didn't know how to do 'man abs' and it makes me wonder if ide's like kdevelop makes it too easy for people to program (sort of point-and-klick programming :).
Don't get me wrong: I do think they can be helpful for those that know what happens underneath. But for those that don't .....
On Sat, 10 May 2003 00:22:54 +0200 Anders Johansson <andjoh@rydsbo.net> wrote:
I wish the man pages mentioned which lib needs to be linked though. That can be a pain some times I tend to agree. But, Kdevelop does support the C/C++ reference which, IMHO should be installed as an integral part of KDevelop. I can't tell you how many times I have to check the man page for fgets because I forget the order of parameters :-) -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
Hello again, I successfully resolved my problem after fetching c_c++ reference package from internet as suggested my error page, showing up as Itried to access c,c++ reference manual. After installing i just symlinked the install dir to my kde3 install dir (/opt/kde3/share/doc/HTML/en/kdevelop/reference). Works like a charm. thanks for help... regards ,himba Jerry Feldman wrote:
On Sat, 10 May 2003 00:21:01 +0200 Philipp Thomas <philipp.thomas@t-link.de> wrote:
Another case of somebody who didn't know how to do 'man abs' and it makes me wonder if ide's like kdevelop makes it too easy for people to program (sort of point-and-klick programming :).
Don't get me wrong: I do think they can be helpful for those that know what happens underneath. But for those that don't .....
On Sat, 10 May 2003 00:22:54 +0200 Anders Johansson <andjoh@rydsbo.net> wrote:
I wish the man pages mentioned which lib needs to be linked though. That can be a pain some times
I tend to agree. But, Kdevelop does support the C/C++ reference which, IMHO should be installed as an integral part of KDevelop. I can't tell you how many times I have to check the man page for fgets because I forget the order of parameters :-)
On Sun, 11 May 2003 18:29:47 +0200 himba <himba@siol.net> wrote:
Hello again, I successfully resolved my problem after fetching c_c++ reference package from internet as suggested my error page, showing up as Itried to access c,c++ reference manual. After installing i just symlinked the install dir to my kde3 install dir (/opt/kde3/share/doc/HTML/en/kdevelop/reference). Works like a charm. Great. one caveat is that documentation does not always reflect actuality. In the case of standardized languages like C and C++ the documentation should pretty well follow the standard, but there are times when the compiler/library may not implement it correctly, or in some cases where a function is covered by different standards (eg. some of the Unix functions) there might be different implementations of that function. KDE and QT are good examples where there are changes on every version. To learn the KDE API, I used a KDE 2 guide, but implemented on KDE 3. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
On Sunday 11 May 2003 16:29, himba wrote:
Hello again, I successfully resolved my problem after fetching c_c++ reference package from internet as suggested
I just checked the archives and can't find it. Can you enlighten me, which package, and where on the internet? I'm reasonably proficient in C++ but new to kdevelop, so having an online linked manual would be fine. Cheers, TonyB
On Mon, 12 May 2003 10:50:49 +0000 Tony Bloomfield <tonyb.lx@btinternet.com> wrote:
I just checked the archives and can't find it. Can you enlighten me, which package, and where on the internet? I'm reasonably proficient in C++ but new to kdevelop, so having an online linked manual would be fine. http://www.kdevelop.org/index.html?filename=download.html At the bottom of the page you will see
C/C++ reference (tar.bz2) C/C++ reference (tar.gz) -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
On Monday 12 May 2003 12:17, Jerry Feldman wrote:
http://www.kdevelop.org/index.html?filename=download.html At the bottom of the page you will see
C/C++ reference (tar.bz2) C/C++ reference (tar.gz)
Thanks everyone. I'm very impressed with kdevelop after just a short acquaintance. I prefer the QT editor, but apart from that, it's excellent. Cheers, TonyB
Tony Bloomfield wrote:
On Sunday 11 May 2003 16:29, himba wrote:
Hello again, I successfully resolved my problem after fetching c_c++ reference package from internet as suggested
I just checked the archives and can't find it. Can you enlighten me, which package, and where on the internet? I'm reasonably proficient in C++ but new to kdevelop, so having an online linked manual would be fine.
Cheers, TonyB
hello when I first tried to access C and C++ reference I recieved this screen ERROR: The C/C++ Reference is not installed. Please get the package "c_cpp_reference-1.0.tar.gz" from one of KDevelop's ftp mirrors. For a list of those web sites look at: www.kdevelop.org Do these steps to install the reference: If you have got an already installed old version of KDevelop, it is recommented to remove (as root) a probably earlier installed reference that is not working correctly. You can find those 2 sub-directories C and CPLUSPLUS in share/doc/HTML/your-language/kdevelop/reference of the global KDE directory and in the appropriate English sub-directory. Delete both ones. Now extract the new downloaded file with: "tar xvzf c_cpp_reference-1.0.tar.gz" Go to the new created directory: "cd c_cpp_reference-1.0" Now make the package ready for installation: "./configure; make" Install the package (as root): "make install" Restart KDevelop file containing this message is located under /opt/kde3/share/doc/HTML/en/kdevelop/reference/C/index.html (I did standard install of Suse8.2 on my machine) I don't exactly remember where I got that file from - probably www.kdevelop.org, but after installing, I got what I wanted. Hope this helps, regards ,himba
-----Original Message----- <snip>
Now extract the new downloaded file with: "tar xvzf c_cpp_reference-1.0.tar.gz"
Go to the new created directory: "cd c_cpp_reference-1.0"
Now make the package ready for installation: "./configure; make"
<snip> I am new to Linux and KDevelop and I need some assistance. When I do the ./configure for the c_cpp_reference I get the following error: checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log. Anyone know what causes this. I am running SuSE 8.2 Pro and I have all the QT3 libraries loaded (best as I can tell). Thanks, Darrell Cormier p.s. please forgive me for using Outlook, it is forced upon me at my place of employment.
On Monday 12 May 2003 16:29, DC wrote:
-----Original Message----- <snip>
Now extract the new downloaded file with: "tar xvzf c_cpp_reference-1.0.tar.gz"
Go to the new created directory: "cd c_cpp_reference-1.0"
Now make the package ready for installation: "./configure; make"
<snip>
I am new to Linux and KDevelop and I need some assistance. When I do the ./configure for the c_cpp_reference I get the following error:
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log.
Anyone know what causes this. I am running SuSE 8.2 Pro and I have all the QT3 libraries loaded (best as I can tell).
Thanks, Darrell Cormier
p.s. please forgive me for using Outlook, it is forced upon me at my place of employment.
Darrell, Do you have qt3-devel files installed? Go to YaST2 and do a search for -devel files. You may find that you don't have several you may need later for compiling and such. Patrick -- --- KMail v1.5.1 --- SuSE Linux Pro v8.2 --- Registered Linux User #225206 On any other day, that might seem strange...
O'Smith wrote:
On Monday 12 May 2003 16:29, DC wrote:
-----Original Message----- <snip>
Now extract the new downloaded file with: "tar xvzf c_cpp_reference-1.0.tar.gz"
Go to the new created directory: "cd c_cpp_reference-1.0"
Now make the package ready for installation: "./configure; make"
<snip>
I am new to Linux and KDevelop and I need some assistance. When I do the ./configure for the c_cpp_reference I get the following error:
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log.
Anyone know what causes this. I am running SuSE 8.2 Pro and I have all the QT3 libraries loaded (best as I can tell).
Thanks, Darrell Cormier
p.s. please forgive me for using Outlook, it is forced upon me at my place of employment.
**********************
Darrell, Do you have qt3-devel files installed? Go to YaST2 and do a search for -devel files. You may find that you don't have several you may need later for compiling and such.
Patrick
Thanks, but I had all of the devel packages loaded as well. I was trying to get this to work on both my machine at home and at work. I did get it to work at home by using the ./configure --prefix=/opt/kde3/ . However that still did not work at my office. So at home instead of using makeinstall I used checkinstall to create an RPM. I transferred the RPM to my office machine and installed it that way. Worked great. Thanks for your input, Darrell Cormier
participants (8)
-
Anders Johansson
-
Darrell Cormier
-
DC
-
himba
-
Jerry Feldman
-
O'Smith
-
Philipp Thomas
-
Tony Bloomfield