* hamlib not compiling well @ 2004-07-07 5:40 w9ya 2004-07-07 15:10 ` pa3gcu 2004-07-07 16:39 ` w9ya 0 siblings, 2 replies; 14+ messages in thread From: w9ya @ 2004-07-07 5:40 UTC (permalink / raw) To: linux-hams Hey gang; I am trying to write some Mandrake spec files for tlf and a few other packages. In the process I am not able to use rpm -ba to compile the spec files for hamlib. I am running into a problem that I have not seen before. There are files being created but they are without the ".so"in the file name, I tried adding "--enable-shared" to the configure, but this did not work, nor have I ever required this. I am sure I am just brain farting on why this is happening or much more importantly what it is I need to do to get a decent compile; but does anyone have any helpful ideas ? TIA Vy 73; Bob w9ya ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: hamlib not compiling well 2004-07-07 5:40 hamlib not compiling well w9ya @ 2004-07-07 15:10 ` pa3gcu 2004-07-07 15:59 ` w9ya 2004-07-07 16:39 ` w9ya 1 sibling, 1 reply; 14+ messages in thread From: pa3gcu @ 2004-07-07 15:10 UTC (permalink / raw) To: w9ya; +Cc: linux-hams On Wednesday 07 July 2004 07:40, w9ya@arrl.net wrote: > Hey gang; > > I am trying to write some Mandrake spec files for tlf and a few other > packages. In the process I am not able to use rpm -ba to compile the spec > files for hamlib. > > I am running into a problem that I have not seen before. There are files > being created but they are without the ".so"in the file name, I tried > adding "--enable-shared" to the configure, but this did not work, nor have > I ever required this. After installing libs one needs to use 'ldconfig' to configure dynamic linker run time bindings, as show in the manual page of ldconfig. I presume this is your problem. > > I am sure I am just brain farting on why this is happening or much more > importantly what it is I need to do to get a decent compile; but does > anyone have any helpful ideas ? > > TIA > > Vy 73; > > Bob > w9ya -- If the Linux community is a bunch of thieves because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard pa3gcu@zeelandnet.nl http://people.zeelandnet.nl/pa3gcu/ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: hamlib not compiling well 2004-07-07 15:10 ` pa3gcu @ 2004-07-07 15:59 ` w9ya 2004-07-07 17:58 ` Just installed RedHat 9 John Montanez 2004-07-08 6:11 ` hamlib not compiling well pa3gcu 0 siblings, 2 replies; 14+ messages in thread From: w9ya @ 2004-07-07 15:59 UTC (permalink / raw) To: linux-hams > On Wednesday 07 July 2004 07:40, w9ya@arrl.net wrote: >> Hey gang; >> >> I am trying to write some Mandrake spec files for tlf and a few other >> packages. In the process I am not able to use rpm -ba to compile the >> spec files for hamlib. >> >> I am running into a problem that I have not seen before. There are >> files being created but they are without the ".so"in the file name, I >> tried adding "--enable-shared" to the configure, but this did not >> work, nor have I ever required this. > > After installing libs one needs to use 'ldconfig' to configure dynamic > linker run time bindings, as show in the manual page of ldconfig. > I presume this is your problem. Um, perhaps I was not clear about this. If that is my fault, I am sorry. This is prior to installing the libs. Bob w9ya > >> >> I am sure I am just brain farting on why this is happening or much >> more importantly what it is I need to do to get a decent compile; but >> does anyone have any helpful ideas ? >> >> TIA >> >> Vy 73; >> >> Bob >> w9ya > > -- > If the Linux community is a bunch of thieves because they > try to imitate windows programs, then the Windows community > is built on organized crime. > > Regards Richard > pa3gcu@zeelandnet.nl > http://people.zeelandnet.nl/pa3gcu/ > > - > To unsubscribe from this list: send the line "unsubscribe linux-hams" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Just installed RedHat 9 2004-07-07 15:59 ` w9ya @ 2004-07-07 17:58 ` John Montanez 2004-07-08 21:15 ` pa3gcu ` (2 more replies) 2004-07-08 6:11 ` hamlib not compiling well pa3gcu 1 sibling, 3 replies; 14+ messages in thread From: John Montanez @ 2004-07-07 17:58 UTC (permalink / raw) To: linux-hams Hello, I just installed RedHat 9, and am trying to recompile the kernel to include support for amateur radio. I get a message telling me that the kernel is to big to be able to make a boot disk. Can anyone tell me what sort of things I can safely leave out when I configure the kernel to make it smaller. It's probably obvious but I'm a newbie at linux. John / KC4TXC ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Just installed RedHat 9 2004-07-07 17:58 ` Just installed RedHat 9 John Montanez @ 2004-07-08 21:15 ` pa3gcu 2004-07-08 21:36 ` John Montanez 2004-07-09 21:23 ` M Taylor 2004-08-04 2:53 ` Wilbert Knol 2 siblings, 1 reply; 14+ messages in thread From: pa3gcu @ 2004-07-08 21:15 UTC (permalink / raw) To: John Montanez; +Cc: linux-hams On Wednesday 07 July 2004 19:58, John Montanez wrote: > Hello, > > I just installed RedHat 9, and am trying to recompile the kernel to include > support for amateur radio. I get a message telling me that the kernel is > to big to be able to make a boot disk. Can anyone tell me what sort of > things I can safely leave out when I configure the kernel to make it > smaller. It's probably obvious but I'm a newbie at linux. Does not redhat 9 already have ax25 support then, i know redhat 8 had it as default so why would version 9 not have it.??? To answer you question about what and what not to compile would need a very long answer. Take a quick look at my web page, its old but should give you some hints. > > John / KC4TXC -- If the Linux community is a bunch of thieves because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard pa3gcu@zeelandnet.nl http://people.zeelandnet.nl/pa3gcu/ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Just installed RedHat 9 2004-07-08 21:15 ` pa3gcu @ 2004-07-08 21:36 ` John Montanez 2004-07-09 5:39 ` John Bennett 2004-07-13 15:33 ` John Montanez 0 siblings, 2 replies; 14+ messages in thread From: John Montanez @ 2004-07-08 21:36 UTC (permalink / raw) To: linux-hams First I would like to thank everyone who has taken the trouble to respond. Thank you all. > Does not redhat 9 already have ax25 support then, i know redhat 8 had it as > default so why would version 9 not have it.??? I don't think so because when I tried to install the FBB bulletin board program I got a message telling me ax25 support was needed. Thanks I will check out your website. I still can't seem to get this kernal thing right. I compiled it but can't get it to load. Looks like I'll be working on this for a while till I learn more about linux. John / KC4TXC ----- Original Message ----- From: "pa3gcu" <pa3gcu@zeelandnet.nl> To: "John Montanez" <jemontanez@knology.net> Cc: <linux-hams@vger.kernel.org> Sent: Thursday, July 08, 2004 4:15 PM Subject: Re: Just installed RedHat 9 > On Wednesday 07 July 2004 19:58, John Montanez wrote: > > Hello, > > > > I just installed RedHat 9, and am trying to recompile the kernel to include > > support for amateur radio. I get a message telling me that the kernel is > > to big to be able to make a boot disk. Can anyone tell me what sort of > > things I can safely leave out when I configure the kernel to make it > > smaller. It's probably obvious but I'm a newbie at linux. > > Does not redhat 9 already have ax25 support then, i know redhat 8 had it as > default so why would version 9 not have it.??? > > To answer you question about what and what not to compile would need a very > long answer. > Take a quick look at my web page, its old but should give you some hints. > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Just installed RedHat 9 2004-07-08 21:36 ` John Montanez @ 2004-07-09 5:39 ` John Bennett 2004-07-13 15:33 ` John Montanez 1 sibling, 0 replies; 14+ messages in thread From: John Bennett @ 2004-07-09 5:39 UTC (permalink / raw) To: John Montanez; +Cc: linux-hams RH9 does have ax25 support, but only for the soundcard modem. If you intend to use KISS, you will need to rebuild the kernel. Be warned that one of the ax25.h files fails to include another necessary header and can cause configure to fail if it attempts to test for the presence of ax25. A lot of if's here, but this can and does happen. Case in point, ax25 support in Xastir will fail on RH9 because of this omission. On my system, they are found at: /usr/include/linux/ax25.h /usr/include/netax25/ax25.h <-- this one has the required includes If you have not done so already, make sure you get all the current ax25 tarballs off of Sourceforge and install them. Even though you may not think you need them: libax25 ax25-tools ax25-apps The apps can be useful to troubleshoot your setup. For example, I often use the listen and call binaries to check my setup. If you need to rebuild the kernel, be sure you copy the appropriate config file from the configs directory to the root of the source tree (be sure that it is named '.config' on the copy). The configs directory is found in the root of the source tree. Do *NOT* do a 'make mrproper' as this will completely wipe out the '.config' file. After doing this, the only changes that you will need to make to the config is to set the correct processor (i686 covers a lot of territory...) and select the serial port kiss driver to be loaded as a module. Doing this will preserve all the configuration settings and features that were with the distribution. If you don't, a lot of stuff in X will break. If you are using the latest rpms from Red Hat (they still have them on their site), be advised that after the RH manuals were completed, RH changed how the upgrade patches to the kernel were applied (for building from the source). After downloading the src rpm, you will need to install/build by doing the following: rpm -Uvh kernel*.src.rpm cd /usr/src/redhat/SPECS rpmbuild -bp kernel-2.4.spec <-- this will take awhile cd /usr/src/redhat/BUILD/kernel*/linux* cp configs/kernel-2.4.20-i686.config ./.config <-- or whatever vi Makefile <-- change EXTRAVERSION to something unique for you make menuconfig <-- selections as discussed above make dep clean bzImage modules modules_install install If you want grub to use your new kernel as the default, you will need to edit grub.conf in /boot/grub. Suggest you make this change *after* you have tested the new kernel. Non-kernel rpms should be installed using the '-Fvh' option. Hope this helps. 73, John n4xi On Thu, 2004-07-08 at 16:36, John Montanez wrote: > First I would like to thank everyone who has taken the trouble to respond. > Thank you all. > > > Does not redhat 9 already have ax25 support then, i know redhat 8 had it > as > > default so why would version 9 not have it.??? > > I don't think so because when I tried to install the FBB bulletin board > program I got a message telling me ax25 support was needed. Thanks I will > check out your website. I still can't seem to get this kernal thing right. > I compiled it but can't get it to load. Looks like I'll be working on this > for a while till I learn more about linux. > > John / KC4TXC > > ----- Original Message ----- > From: "pa3gcu" <pa3gcu@zeelandnet.nl> > To: "John Montanez" <jemontanez@knology.net> > Cc: <linux-hams@vger.kernel.org> > Sent: Thursday, July 08, 2004 4:15 PM > Subject: Re: Just installed RedHat 9 > > > > On Wednesday 07 July 2004 19:58, John Montanez wrote: > > > Hello, > > > > > > I just installed RedHat 9, and am trying to recompile the kernel to > include > > > support for amateur radio. I get a message telling me that the kernel > is > > > to big to be able to make a boot disk. Can anyone tell me what sort of > > > things I can safely leave out when I configure the kernel to make it > > > smaller. It's probably obvious but I'm a newbie at linux. > > > > Does not redhat 9 already have ax25 support then, i know redhat 8 had it > as > > default so why would version 9 not have it.??? > > > > To answer you question about what and what not to compile would need a > very > > long answer. > > Take a quick look at my web page, its old but should give you some hints. > > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-hams" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html John Bennett Evansville, IN Amateur Radio Web: http://home.insightbb.com/~n4xi Where am I? http://www.findu.com/cgi-bin/find.cgi?N4XI Bike Racing Web: http://home.insightbb.com/~xibike ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Just installed RedHat 9 2004-07-08 21:36 ` John Montanez 2004-07-09 5:39 ` John Bennett @ 2004-07-13 15:33 ` John Montanez 1 sibling, 0 replies; 14+ messages in thread From: John Montanez @ 2004-07-13 15:33 UTC (permalink / raw) To: linux-hams Again I would like to say thanks to everyone who has taken the trouble to respond to my request for help. Thank you all. I finally managed to build a custom kernel. I resorted to reading the instructions in the documentation. Just like they say, "If all else fails read the instructions". I followed the instructions step by step, added the amateur radio features that I wanted in the config file using xconfig, followed the remaining steps in the instructions and everything else was automatic. If I had done this to begin with, even a dummy like me would have had absolutely no problem customizing the RedHat 9 kernel. John / KC4TXC ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Just installed RedHat 9 2004-07-07 17:58 ` Just installed RedHat 9 John Montanez 2004-07-08 21:15 ` pa3gcu @ 2004-07-09 21:23 ` M Taylor 2004-08-04 2:53 ` Wilbert Knol 2 siblings, 0 replies; 14+ messages in thread From: M Taylor @ 2004-07-09 21:23 UTC (permalink / raw) To: John Montanez; +Cc: linux-hams On Wed, Jul 07, 2004 at 12:58:47PM -0500, John Montanez wrote: > Hello, > > I just installed RedHat 9, and am trying to recompile the kernel to include > support for amateur radio. I get a message telling me that the kernel is to > big to be able to make a boot disk. Can anyone tell me what sort of things > I can safely leave out when I configure the kernel to make it smaller. It's Anything you don't need. :-) Don't include drivers for hardware you don't have. But I suspect it may be hard to fit on a floppy. I suspect that you need to do 'make bzdisk', in case you are trying to use 'make zdisk'. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Just installed RedHat 9 2004-07-07 17:58 ` Just installed RedHat 9 John Montanez 2004-07-08 21:15 ` pa3gcu 2004-07-09 21:23 ` M Taylor @ 2004-08-04 2:53 ` Wilbert Knol 2004-08-04 3:12 ` Jeff Camp 2 siblings, 1 reply; 14+ messages in thread From: Wilbert Knol @ 2004-08-04 2:53 UTC (permalink / raw) To: linux-hams > I just installed RedHat 9, and am trying to recompile the kernel to > include support for amateur radio. I get a message telling me that > the kernel is to big to be able to make a boot disk. Unless you are planning to boot off a floppy, I suggest you ignore that message. Just build the kernel and use it. Most modern distros come with a kernel that is already AX25-enabled. Mdk and SuSE do. Are you *sure* you need to re-compile? Wilbert, ZL2BSJ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Just installed RedHat 9 2004-08-04 2:53 ` Wilbert Knol @ 2004-08-04 3:12 ` Jeff Camp 0 siblings, 0 replies; 14+ messages in thread From: Jeff Camp @ 2004-08-04 3:12 UTC (permalink / raw) To: linux-hams I had to do the same things with RH9. I think ax25 is there by default, but mkiss support isn't. After you've done your "make config" and "make dep" use "make bzImage" and you may end up with a kernel small enough to fit on a floppy if you haven't turned on too many features during the config process. Look for a file called bzImage in /usr/src/linux/arch/i386/boot. If you're gutsy, you can just edit the .config file manually and turn on mkiss support there rather than going through the "make config" process. It does the same thing and you don't have to answer the config questions for 15 minutes. 73, Jeff N0WJP ----- Original Message ----- From: "Wilbert Knol" <w.knol@niwa.co.nz> To: <linux-hams@vger.kernel.org> Sent: Tuesday, August 03, 2004 9:53 PM Subject: Re: Just installed RedHat 9 > > > I just installed RedHat 9, and am trying to recompile the kernel to > > include support for amateur radio. I get a message telling me that > > the kernel is to big to be able to make a boot disk. > > Unless you are planning to boot off a floppy, I suggest you ignore > that message. Just build the kernel and use it. > > Most modern distros come with a kernel that is already AX25-enabled. > Mdk and SuSE do. Are you *sure* you need to re-compile? > > Wilbert, ZL2BSJ > - > To unsubscribe from this list: send the line "unsubscribe linux-hams" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: hamlib not compiling well 2004-07-07 15:59 ` w9ya 2004-07-07 17:58 ` Just installed RedHat 9 John Montanez @ 2004-07-08 6:11 ` pa3gcu 2004-07-08 7:43 ` w9ya 1 sibling, 1 reply; 14+ messages in thread From: pa3gcu @ 2004-07-08 6:11 UTC (permalink / raw) To: w9ya; +Cc: linux-hams On Wednesday 07 July 2004 17:59, w9ya@arrl.net wrote: > >> I am running into a problem that I have not seen before. There are > >> files being created but they are without the ".so"in the file name, I > >> tried adding "--enable-shared" to the configure, but this did not > >> work, nor have I ever required this. > > > > After installing libs one needs to use 'ldconfig' to configure dynamic > > linker run time bindings, as show in the manual page of ldconfig. > > I presume this is your problem. > > Um, perhaps I was not clear about this. If that is my fault, I am sorry. > > This is prior to installing the libs. Whatever, but i have just retrived hamlib-1.1.4.tar.bz2 decompressed it and simply did; ./configure make make install Things look ok to me. .so files do get created in subdirs, make install installs everything in /usr/local/lib and seeminly links things as well. > Bob > w9ya -- If the Linux community is a bunch of thieves because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard pa3gcu@zeelandnet.nl http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: hamlib not compiling well 2004-07-08 6:11 ` hamlib not compiling well pa3gcu @ 2004-07-08 7:43 ` w9ya 0 siblings, 0 replies; 14+ messages in thread From: w9ya @ 2004-07-08 7:43 UTC (permalink / raw) To: linux-hams > On Wednesday 07 July 2004 17:59, w9ya@arrl.net wrote: >> >> I am running into a problem that I have not seen before. There are >> files being created but they are without the ".so"in the file name, >> I tried adding "--enable-shared" to the configure, but this did not >> work, nor have I ever required this. >> > >> > After installing libs one needs to use 'ldconfig' to configure >> dynamic linker run time bindings, as show in the manual page of >> ldconfig. I presume this is your problem. >> >> Um, perhaps I was not clear about this. If that is my fault, I am >> sorry. >> >> This is prior to installing the libs. > > Whatever, but i have just retrived hamlib-1.1.4.tar.bz2 decompressed it > and simply did; > > ./configure > make > make install > > Things look ok to me. .so files do get created in subdirs, make install > installs everything in /usr/local/lib and seeminly links things as well. Hey Richard; And well they might seem o.k. for you. I was making rpms for Mandrake, which entails a different approach. 1 - /usr/local is off limits. 2 - File permissions and ownership issues may be present. 3 - Extraneous files may have to noticed and removed. 4 - ALL files must be accounted for. 5 - Various other distribution specific issues in many other areas often need to be attended to. (And these can be many.) But I definitely can say this; even with your approach, if you had tried to do a simple compile on a Mandrake 10.0 Official machine you would have run into the same problems I had. BTW I reported the fix yesterday or the day before for this, so the problem is solved; it appears to be a versioning issue with libtool/libtldl. Finally IMHO it is a really bad idea to just compile, even into /usr/local, on a system (like mandrake, debian, red hat, suse, and many other "distros") that uses a file tracking package management system. You run the risk of system instability or worse. Thanks for the concerns es vy 73; Bob w9ya > >> Bob >> w9ya > > -- > If the Linux community is a bunch of thieves because they > try to imitate windows programs, then the Windows community > is built on organized crime. > > Regards Richard > pa3gcu@zeelandnet.nl > http://people.zeelandnet.nl/pa3gcu/ > > - > To unsubscribe from this list: send the line "unsubscribe linux-hams" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: hamlib not compiling well 2004-07-07 5:40 hamlib not compiling well w9ya 2004-07-07 15:10 ` pa3gcu @ 2004-07-07 16:39 ` w9ya 1 sibling, 0 replies; 14+ messages in thread From: w9ya @ 2004-07-07 16:39 UTC (permalink / raw) To: linux-hams Hey again gang; I added this to the top of the spec file to get libtool to NOT libtoolize: %define __libtoolize /bin/true Apparently there is a libtool version mismatch somewhere ? (Just a guess.) Mandrake uses this: libtool-1.4.3-10mdk Anyways, I am not sure these files actually work (grin)....but at least they exist correctly and in the right places. I tested this fix with the spec file that came with hamlib 1.2.0.src.rpm btw, although this problem existed also with 1.1.4 as well. Vy 73; Bob w9ya > Hey gang; > > I am trying to write some Mandrake spec files for tlf and a few other > packages. In the process I am not able to use rpm -ba to compile the > spec files for hamlib. > > I am running into a problem that I have not seen before. There are files > being created but they are without the ".so"in the file name, I tried > adding "--enable-shared" to the configure, but this did not work, nor > have I ever required this. > > I am sure I am just brain farting on why this is happening or much more > importantly what it is I need to do to get a decent compile; but does > anyone have any helpful ideas ? > > TIA > > Vy 73; > > Bob > w9ya ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2004-08-04 3:12 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-07-07 5:40 hamlib not compiling well w9ya 2004-07-07 15:10 ` pa3gcu 2004-07-07 15:59 ` w9ya 2004-07-07 17:58 ` Just installed RedHat 9 John Montanez 2004-07-08 21:15 ` pa3gcu 2004-07-08 21:36 ` John Montanez 2004-07-09 5:39 ` John Bennett 2004-07-13 15:33 ` John Montanez 2004-07-09 21:23 ` M Taylor 2004-08-04 2:53 ` Wilbert Knol 2004-08-04 3:12 ` Jeff Camp 2004-07-08 6:11 ` hamlib not compiling well pa3gcu 2004-07-08 7:43 ` w9ya 2004-07-07 16:39 ` w9ya
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.