Ubuntu :: Tcl,tk,perl-tk Fail To Install But Apt-get Reports Success?
Feb 26, 2010
I tried to install perl-tk today, and tried tcl and tk in the process. "apt-get install" is reporting success, but I can't find the commands. I expect them to be in /usr/bin, but they're not there. I've tried "clean" and "update" as well, and even rebooted, to no avail. Synaptic package manager gives the same results. This is happening on two different systems, one running koala and the other intrepid. Here's a snippet of what I've tried:
%heron 35: sudo apt-get purge tk tcl perl-tk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tk is not installed, so not removed
I am trying to insall CPAN, apparently I do this by typing CPAN at the command line.After much else, this results in
Code:
**UNRECOVERABLE ERROR** Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher. If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd. Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
I'm running an Apache web server version 2.2.11 on Fedora 10. I'm trying to get it to run a PERL cgi script but with only partial success. The script uses the PERL cgi package.
The perl script is a simple test case that creates a form to fill in. Once the submit button has been clicked it should then return the data submitted. The perl script writes this to a file called output.cgi
The intial script located in /var/www/cgi-bin/index.cgi gets executed fine when I go to [URL], this works with no probs. However once I hit the button to submit the data I then get the error
Not Found
The requested URL /cgi-bin/output.cgi was not found on this server. Apache/2.2.11 (Fedora) Server at localhost Port 80 Im not sure if its a perl problem or server setup problem, theres probably a simple switch or something but Im out of ideas at the moment.
Each line of the file I am sorting is in the following format:
<url> <month> <day>
For example:
[URL]
I wrote the following to sort:
Code:
#!/usr/bin/perl $in = shift; chomp($in);
[code]....
The script worked fine for my small testing files, but failed in my input file. The input file is 18MB and containing more than 300,000 lines. The output will contains some lines like that:
I got the following task from my boss. I have to find out if there is some alternative tool for create reports from Squid except SARG. Now, we use SARG, but my boss told to me, that the main problem of SARG is, that SARG generate huge amount files, which cause problems during migration our servers. He told to me the following condition for change of current tool (SARG):
* standard package of Debian * generate less amount of files, optimal is to save reports to the database
So I would like to ask you if you know about some tool (I can not find some by google)... and the best would be if you told to me some practical experiences.
would have marked the last thread as solved, but couldn't find where to do it Got it up and running, dual-boot, and no problems after scandisk, and fujitsu helped out. Now I have XP and Debian lenny. Here's where the hard part comes in, for me anyways. Had to do install without NIC, install didn't find it. I have the driver disk for it, with a linux driver on it, but I can't find anything about how to use it.
The driver file has 5 files inside it. 1) Makefile 2) sr9600.c 3) sr9600.h, 2 readme's and a file containing some .png files. I can't find a substitute driver for the card, SUPERAL semiconductor sr9600, that may be already on the stuff I can get using aptitude, so what do I do with this driver...how do I get the system to use it? I NEED networking, a tutorial or some good advice,.. I've googled everything I can think of.
I Have been trying to install BitDefender on Mint 11 but without success, Would be grateful for any note my knowledge of commands is zero but have managed to get this far,
1. Downloaded BitDefender-Antivirus-Scanner-7.6-4.linux-gcc4x.i586.deb.run into the download file. In Terminal I have tried to run it using sudo sh followed by the filename but get the message it can't find the file. Have tried cd /Desktop & cd/Downloads (Mentioned in a Linux article) but still get nowhere. Also tried putting the file on the desktop, then properties,permissions, ticked the execute box but terminal is not showing up in that box.
I'm newbie so I didn't know where to post my question. Well, here's my question: I'm trying to install bochs on Debian Squeeze but no success. I'd downloaded last version of bochs (2.4.6), then decompressed it and tried this: ./configure --enable-debugger --enable-disasm --prefix=/opt/bochs-2.4.2 --enable-mmx --enable-sse=4 --enable-fpu --enable-vbe --enable-sse-extension --enable-cpu-level=6
For the last couple of days I've been trying to install Fedora 11 x86_64 without success on my new machine, specs below. Intel Core i7-920 2.66Ghz MSI X58 Pro 7200 SATA Drive (can't remember the make) 6GB RAM So first off I tried install the 32bit live cd and that worked without any problems and installed fine. Only problem is I need access to the full 6GB of RAM so I really need to switch to the 64bit version.
I downloaded the full x86_64 install DVD and burnt it off. Rebooted and began the installation. It was going fine until it started installing the packages. The install seemed to freeze, although the mouse would still move. I left this for 10 minutes just incase it kick started again, but there was no HD activity or DVD activity so I gave up and rebooted to try again. The next time I started the install I had problems with it freezing while partitioning. I was beginning to think something was up with my hard drive or the drivers for the hard drives controller weren't working correctly (could still be the case).
After about 20 attempts with it freezing at various points I gave up and decided to try the x86_64 live cd. This booted with no problems so I started the install from the desktop. First thing I noticed was a kernel error pop up after I started the drive partitioning. Something about dereferencing a pointer in the kernel (0x20) (sorry no additional info at the moment, if needed please ask). This got me thinking the kernels not playing nice with my setup. However, it let me continue and copied the live image onto the hard drive. Then it started going through the post installation steps and this is where I got another kernel error (again I can get this if needed) and the window froze and all activity seemed to stop again. Has anyone got any ideas what could be causing these problems. I've also tried a CentOS 5.2 x86_64 version I had lying around and this had similar problems (although this does use anaconda as the installer too).
Dual Boot Gone Bad I have been trying to set up a dual boot laptop on an old Dell Inspiron 2600. I got the machine cheap, and it is in excellent condition. I have upgraded the Bios to A11 (it was A4 when I got it) and put in a 40 Gig HD. It is maxed-out in memory at 360 Mb. It has the awful (by today's standards) Intel i810 video mess. I created an NTFS (primary) partition on the first half of the drive and installed XP, updated through SP3. I then attempted to install Debian 6 (squeeze) on the second half. I was unable to get anywhere with an installation using a squeeze Live CD. The screen just goes blank about 60 seconds into the installation, and everything freezes up. In rescue mode, I can get some screen play, but the rendering is awful and half of what you do is actually off the screen and you can't see what it is you are doing.
I hooked up a separate monitor, and was able to watch the installation just fine until it reached a certain point in the boot-up, then everything again went blank and the machine again froze up. I tried Ubuntu 10.10, Ubuntu 10.04 LTS, Mint 10, and Ultimate Edition 10.10 with varying degrees of success, but none completing and working.
The Ubuntu 10.04 LTS actually installed, but I could not get sufficient graphics in either a terminal (entered at the end of the install process just before re-booting) or booting to text only mode to sudo a change to the xorg.conf file that was native to the system, rather than to the installation package itself (which goes away when you reboot).
I was able to install 'squeeze' using the 'expert graphical install' mode under 'advanced options' (it lets you select a screen resolution when it starts the install), and when I got to the end of the installation, before re-booting, I told the system to open a monitor as 'root', and wrote what I thought would have been an appropriate xorg.conf file in the /etc/X11 subdirectory using nano (monitor and driver specs, as well as suggested xorg.conf entries obtained elsewhere on the web).
[Code]...
I'M SO CLOSE! Can somebody help me and tell me how to edit GRUB so it again recognizes the partition... or reinstall GRUB.... or let me know if the problem is with the XP MBR.... And if so, maybe hopefully lead me to how to fix THAT issue without screwing up the Debian install (I know this isn't an "UGH"- Windows forum). If worst come to worst, I can delete all the Linux partitions, use my Windows install disk to repair the MBR, and reinstall lenny.... Hopefully with GRUB not losing XP this time. I hate to do it because it has taken me a couple of days to get ANY form of Linux actually working right on this machine..... but at least I know how to do it now and what distro will actually work.
Also, anybody with a clue as to why squeeze won't boot after what appears to be a successful installation (with the above-listed xorg.conf file in place) and what I can do to fix that issue would also be appreciated. It will be nice to have a system installed that has current support next year.
Ive tested this on 2 different machines each running Fedora 15. If I try to install gnome-schedule the system reports nothing to do or that the software is already installed. If I try to remove it the system reports that gnome-schedule is available but not installed. Anyone know how to approach this?
We have just installed the 11.3 version of opensuse in a Dell Poweredge T610 with 8 Gb in RAM and two (2) Xeon Quadcore proccesors. Well, the first time the Opensuse resets the computer, after the installation (it was fine, w/o any problem) the system goes frezze showing a screen which reports a BUG ERROR in the Kernel code, specifically:
Kernel bug at /usr/package/BUILD/kernel-desktop-2.6.34/kernel/timer.c:643 invalid opcode: 0000 [#1] PREEMPT SMP last sysfs file: /sys/module/thermal_sys/sections/__ksymtab_strings CPU 11 ... ...
After a "button off" reset the machine boots fine and we could finish the configuration of the applications that we needed. We tested the machine by two days and it didn't show again the problem mentioned, and we believe it was a little bug in the installation, but today, the server halts again in the boot process 3 (three) times before it runs again well.We have repeated this installation in other computers, one in a 32 bit version and other in 64 bits version (like the Dell) and only in the last one has repeated the problem, I mean, no problems in the 32 bit installation. Fortunately, this new server is just a replacement for an old machine, that is running with the 10.3 version. Perhaps, does we continue using the 10.3 instead of the 11.3 meanwhile it is deputed?
Opensuse Linux (Linux sr-server 2.6.37.6-0.7-default #1 SMP 2011-07-21 02:17:24 +0200 i686 athlon i386 GNU/Linux). I have a very unusual problem where fdisk reports one size BUT df reports a TOTALLY different and unexpected size. Besides doing a full backup, repartition, reformat and restore, is there anything else I can try first??
Here are the outputs: (sda1 and sda2 sizes are completely different from fdisk!!) df -v -h Filesystem Size Used Avail Use% Mounted on rootfs 22G 17G 4.2G 81% / devtmpfs 369M 152K 368M 1% /dev tmpfs 375M 648K 374M 1% /dev/shm /dev/sda2 22G 17G 4.2G 81% / /dev/sda1 15G 7.8G 6.6G 54% /windows/C
I have installed Windows 7 Professional (64 bit version), and OpenSuse 11.2 (64 bit) on to a newly built Core i5 machine. I installed Windows first, with 3 partitions. The 100MB partition Windows reserves, a C: drive for the operating system and a D: drive for data. Both of these are NTFS partitions. I then installed OpenSuse into the unallocated section at the end of the new disk drive. The Linux partitioner showed OpenSuse in an extended partition, containing a swap / /home and /tmp partition. Both operating systems now appear to be working fine, but I'm worried about the Windows Disk Manager showing that the OpenSuse partions are primary ones, and are not inside an extended partition. It only shows a small amount of unallocated space at the end of the drive as being in an extended partition.
Should I delete OpenSuse and start again? Perhaps creating an extended partition with Windows before trying to reinstall OpenSuse?If I leave the disk as it is, is it likely to continue to dual boot without something unstable occuring? It may just be a Windows problem which will not be fatal, but I'm worried all my files may get scrambled at a some point in the future.
I have a somewhat old box that I want to install 11.04 on for experimentation. Eventually I'll want to run server and LVM, but for now I'm just going for simple. The box is an AMD 4800+ with 3 SATA hard drives. It previously ran Windows, but I've made every effort to blow all HD contents away and start fresh.The big picture problem is that I can't reliably get the system to boot from the SATA drives. After my first install of the 64-bit 11.04 from CD, it installed OK and booted fine. I then subsequently reinstalled the next day and the troubles began.
I've been booting into the "trial mode" from CD, then attempting to reinstall from there.After getting all the way through the setup, it gets to the grub install. It says that it can't install grub. It then offered to install it on the other /SD'x' devices (/SDA, /SDC, etc...) but failed to install grub there as well.Thinking there may have been leftover state from a previous install, I've tried blowing away all the contents of the 3 hard drives. However, I can't do that either. Running the "disk editor" from within the "trial" mode, any attempt to erase a partition is met with a failure, with the error message "daemon is inhibited".
So the two big questions I have are:1) Why is the grub install failing, and how can I deal with it?2) Is there some expectation of what the drives look like prior to an install? And if so, how go I get them into that state? I'm lost on how to "uninhibit the daemon"If it's helpful, I grabbed the relevant section of the log file that has what looks like more detailed errors from the grub install.
i have just install Sarg-2.2.3.1.tar.gz but When finished compiled i cannot see sarg.conf (in directory /etc/.. or /etc/httpd/conf.d). May i know where is it.?? I'm not sure compiler which it's work good or not good. Some logs show in here:
I have been trying to install lmms on my Slackware 12.1 system.I have installed QT, cmake in order to compile the source.
It seemed to install correctly (after a bit of reading about how cmake works....) but gives me this on run:
Quote:
bash-3.1$ lmms Notice: could not set realtime priority.lmms: symbol lookup error: lmms: undefined symbol: _ZN8QPainter10drawPixmapERK7QPointFRK7QPixmap bash-3.1$
So my understanding is that it is missing a file or command associated with the program, through it not being linked or not existing. Is there any way I can find out where it thinks this file/data should be, so as to ascertain what libs/packages have it? As far as I can tell, I have all dependencies satisfied.....
I recently reinstalled the B module for perl. Now I found out it didn't just do that, it installed a whole new copy of perl into /usr/local/bin/perl. When I type 'which perl' at the terminal, it says '/usr/local/bin/perl' instead of '/usr/bin/perl'. Normally, this wouldn't bother me. But I installed the one in local/bin without threading support. The one that comes with the system already is build with threading support, which is why I want to switch back to the system perl, and possibly remove the one in /usr/local/bin.
So how do I change it so that the result of 'which perl' returns as '/usr/bin/perl'? And what do I have to do to remove /usr/local/bin/perl?
The reason I need threading support is because I'm designing a file copier that copies several chunks of a file simultaneously to speed up the copying process. Guaranteed a useful script if it works.
I am new here and want to lern CentOS. Current I have installed CentOS 5.5 x64 and Perl 5.8.8. Now i have install Perl 5.12.1 which located to /usr/local/bin/perl. But how I can move it to /usr/bin/perl so root based on Perl 5.12.1?
So ... right now I'm having an issue after I installed ATI Catalyst 10.8 for my GPU HD 5770.Every time I try to boot, it sends me to init3 (I mean text screen). But when I check and try to switch to init5, it tells me that I'm on init5 already.And I'm still stuck on the text screen. However, safemode is still working (yeah I'm on it right now - -").
I installed ATI driver by using this instuction --- openSUSE Lizards � ATI HD57xxx fglrx drivers under 11.3
so i finally found my disk of ubuntu 6.10 that i know works. if booted fine and after the disk got formatted it proceeded to install. but to only gets about 73% through the install and then promptly crashes and when I tried it again it does the same thing.
I've just downloaded ubuntu server 10.04.1 and put it on my usb flashdisk, the installation works fine until the point, where it tries to install grub.The thing is, that the installer is trying to write the grub to /dev/sda (which is my usb flashdisk) and not the raid itself.I'm using a fakeraid intel ich9r, which maps the newly created storage to /dev/mapper/isw_ecdhgaacgh_Volume0.Why doesn't install use that instead? It sees it, partitions it, even copies files to.
I'm new in perl programming and linux OS. What is the difference between perl and perl-devel? What does mean devel? Iwant to install Catalyst and before install as required I have to check if make, gcc and perl-devel are installed in my system. make and gcc are installed. But I have to install perl-devel. First I searched for make, gcc and perl-devel in YAST Software Management and search did not find perl-devel. I visited the software.opensuse.org and wrote "perl-devel" and searched. The result was many similar zips with a prefix perl-devel and I can not choose one for needed perl-devel.
I am using Dell Notebook model Inspiron 1420. I run Ubuntu 9.04. I've tried but failed to install SPSS Student Version 16 via Wine. There is a message saying the installer is unable to run in graphical mode. Try to running installer with the -console or -silent flag. What is the silent flag?
The problem is that Ubuntu 10.04 as delivered is not compatible with the Nvidia driver installed with 10.04. This problem is widely reported, as is a fix for it. The usual form of the fix is as follows:
To fix the above error message use the following procedure 1) Download Newest Nvidia drivers from here 2) Open module blacklist as admin gksudo gedit /etc/modprobe.d/blacklist.conf
I tried installing Ubuntu LTS 10.04 Server Edition 64 bit on one of my drives today...
The install completed fine until it went to reboot. Then it faills while initializing the graphics. It tries (a purple flash on the screen) then goes to a text based dump on the monitor.
Ubuntu LTS 10.04 Desktop Edition run great on this machine. I'm wondering if the Server Edition confused by multiple instances of a video card? This computer is SLI bridged:
Code:
Is the xorg or whatever video subsystem that the server edition uses different than Desktop Edition?