Programming :: Correct Package To Install Javadoc On Fedora?
Nov 2, 2010Anyone knows what is the correct package to install javadoc on Fedora???
View 3 RepliesAnyone knows what is the correct package to install javadoc on Fedora???
View 3 RepliesI am trying to run "sudo pbuilder create" where it runs debootstrap. Then it says:
Code:
I: Checking component main on http://bg.archive.ubuntu.com/ubuntu. Problem is that this is the old repo I've used. After installing pbuilder and the other dpkg essential packages I've run "sudo pbuilder create", noticed the message of the repo and since I am no longer in Bulgaria, interrupted the script, went to synaptic and changed the repo from there (now is http://archive.linux.duke.edu/ubuntu/). Even rebooted. Double-checked in synaptic the repo is still changed, grepped the files in /etc/apt for "bg" and all results were commented. I ran again "sudo pbuilder create" and it still reports the old repo.
So where does debootstrap reads the repo setting from and how to fix it?
Sometimes i have on some magazines or Internet Zip packages that are the answer of what i am looking for.
Wich tool and how can i do it? c Well, i am in position to say that i had downloaded from Internet or located the package in the Cd or DVD that comes with the magazine.
But now comes the big question. How can i put this package ( install) on my distro ???
Do i have to be a normal user or should it be root or su (superuser) ?
The packages that come with the distro is easy, because i select them and everything is done
As i told before, maybe this is a silly question, but i simple don't know how to install them and i need some of them to leave MS for good.
Fedora 12 64bit. Is there an easy and reliable way to install *.tar.gz package after extraction? Instead of going through ./configure etc.
View 6 Replies View RelatedI am using embedded Linux. File open is successful. The file has all the permissions. It is present in current directory too. The size is about 27KB. But s.st_size says it is zero.
inputFileName = "abc.mp3";
FILE* inFile = NULL;
inFile = fopen(inputFileName, "r+b");
[code]...
Lets say I have a site "Website1.com"
On that site I want to run a little javascript that verifies that the site was accessed as "Website1.com" and not "dev-Website1.com"
If it was accessed correctly, nothing happens. If it was accessed incorrectly, it displays an error saying "You are trying to access this site incorrectly."
What is the simplest way to accomplish this?
I am running 64-bit Lucid; would running 64 bit be the problem? Anyway, A few of the packages I've been trying to install include Wine 1.3 and a proprietary ATI FGLRX graphics driver for my Laptop's Radeon 4250 graphics card. Many other things I try to install from the Synaptics Package Manager (or anywhere, including the Ubuntu Software Centre) come up with the "E:Unable to correct problems, you have held broken package" as well. It is very frustrating and it is a very vague error. Is it my 64 bit Ubuntu or is it already installed packages that are broken...?
View 6 Replies View Relatedi m using atoi() to convert char value to int. and then passing that int as a swtich variable.switch goes in a case and exectuing that particualr function but returning 0 value....for example: i am finding no of process() and system up time().when switch program goes in system up time it gives right values means correct no of days, hrs , min and sec but when it goes in no of process() it gives 0 answer.
View 8 Replies View RelatedI need to spawn 2 processes in parallel and each takes an hour or so to finish. Is the following one of the correct ways of using `at` in a script run by crontab?
Code:
#!/bin/bash
# define the env var, cd, etc... assume everything ok up to this point
date +"The start time is %H:%M:%S"
rm -f a.fin
at now <<END_OF_AT
do_a &> a.log
[Code]....
I'll post the entire code here, and then specifically highlight what is just failing in a fashion I'm apparently incapable of fixing a few hours later:
Code:
#!/usr/bin/expect
# The script should be called with a file in the directory called sshServerList
# That file has the following format:
# Line # | Contents of line
[code]....
I've had all kinds of different results and problems, but I've never been able to successfully log into multiple servers, though the first server in the list most times works okay (though might not on this iteration). I'm a bit hack and slash and I would be very greatful not only for a solution, but any tips on how I should have done this and places where I could clean up my code.
I have a directory that has a bunch of files and directories under it that I need to correct the filenames of. In fact, I plan on running this as a cronjob to keep checking filenames for certain characters. I want directories and filenames with spaces or pluses (+) to have those certain characters replaced with underscores (_). I know that this will involve sed but I'm not sure what else. A simple shell script would handle it.
View 1 Replies View RelatedI have a server client prog in which server is my 'agent' and client is 'manager'. Following is the code for both agent and manager. I want my agent to send what manager is requesting. But it is not working the way I want. The parameters which manager is requesting, agent has to send to manager but in this program result for those parameters is shown on agent's own terminal window. Where as I want them on manager's window. Secondly, there result is not correct, means it is giving ' 0 K ram and 0 no of process....
Code:
//code for MANAGER
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h> .....
Im doing a sudoku-solver as a school assigment in Java. It is supposed to solve both 6x6, 9x9 and 12x12 boards.Im pretty much done with my algorithm(brute force), but I'm having a hard time figuring out how to calculate the right Box for a Square. I found this snippet:
Code:
// calculate BoardPos for index, where index is 0..80
void loadBoardPosFromIndex(BoardPos &pos, int index) {
pos.index = index;
[code]...
This works on 9x9 boards, but I really dont get the math behind this, and how I can create a generic rule for both 6x6, 9x9 and 12x12 boards.
I have having some trouble working with wide characters, which is,
Sample code:
TCHAR fname[512];
_tcslcpy(fname, L"/root/Desktop/all/TheGrandTunnels.fgc", 512);
[code]...
I have a very simple bash script:echo -n Create home directory?:
read HOMEDIR
if [ $homedir="y" ] || [ $homedir="yes" ]; then
homeval=" --makehomedir"
[code]...
I'm building a certain RPM package that must require an old version of that same package in order to be installed/upgraded. Is this possible?
For example:
For a package foo v5, somewhere in the spec file:
"Requires: foo >= 4"
I'm declaring this on the Requires tag of the spec file, but when I try to install or upgrade the package (without having the previous required version installed) I get no dependency error! As for other dependencies it all works fine. If, instead, I create a package named "bar" that "Requires: foo >= 4", when installing I do get the expected dependency error. I'm thinking it's not possible to require an old version of the same package.
I found a strange problem when I use gdb in eclipse to debug. When I step in the program, the register RIP(I'm using x86_64 machine and that's EIP in 32 bit mode) shows correctly but the line stepping in the source code may be far from the correct line. For example, when there is no loop in the source code, the RIP keeps on increasing and the current instruction pointer goes back to several lines back. I'm sure the source code is the right one because I when I checked the memory and local variables after several lines the values are all correct. The source code has many empty lines and does it matters with GDB?
View 3 Replies View RelatedI found it easiest to embed narp into the gtk+-2.0 installation because all I needed to do was tweak the Makefile.am and Makefile.in files and let configure do the rest.This is a hack. I've failed at getting my own makefiles to work.
Would anyone point me in the right direction on how to properly make an installer for Linux? Also, what is the correct/common directory tree for Linux software packages? Any more suggestions on proceeding with this project using community standards?
what is repository's ? do we need to install repository each time we install any package ?or cant we just say yum install package name ? & how to install tar.gz files ?
View 2 Replies View RelatedI have been searching for 90 minutes for something that I "think" should be fairly easy. I'm pretty new to Bash Scripting so I could be completely wrong. Then again it may be a weird request to even need something like this. But here it is.I have a script written to convert data from one of our software version to another. The only thing I need to add to it is a "check to make sure the user running the script is in the /tmp directory".
View 7 Replies View RelatedAnd I'm finding it difficult to install a package with "<filename>.tar.bz". I followed few threads but still I couldn't get it done properly.
I actually tried to install phpmyadmin, and downloaded the phpMyAdmin-3.3.8.1-all-languages.tar.gz.
Then used "tar -zxvf phpMyAdmin-3.3.8.1-all-languages.tar.gz" command to unpack.
And in that solution, it said to execute a command called "./configure". But when I tried that, the terminal gave me an error saying,
"bash: ./config: No such file or directory".
I tried to use systemtap but it complains about:
Code:
semantic error: missing x86_64 kernel/module debuginfo under '/lib/modules/2.6.34.7-0.7-desktop/build'...
[code]....
As topic, I have trouble with compiling brlcad as this thread.
http://forums.fedoraforum.org/showthread.php?t=249899
I assume the last problem I encounter was lack of development package in the system. Hence, I tried "yum install Xorg-devel" and the terminal reply"No package xorg-x11-devel available."
resolvconf package installation. If i install it using yum it shows,
yum install resolvconf
updates-newkey 100% |=========================| 2.3 kB 00:00
Setting up Install Process
[code]....
how to install this package on fedora ....
How can i install a package with all it's depencies using rpm and Yum ?
View 3 Replies View RelatedI have to install filezilla, I've got this file
FileZilla_3.5.0_x86_64-linux-gnu.tar.bz2
Opening it I see all the files and the folders where to put those files, but I guess there is a command to unpack it directly in the correct folders.
I'm trying to get my bearings in Fedora 13 (64-bit) in a virtual machine.I'm using the version with the Gnome DE.Now I'd like to install Koffice. But when I got to the package manager to select packages to install, I get a huge list of components to select for installation -- Kwrite, Kspread, Core support for Koffice, Libraries needed for Koffice, etc.Is there any way to select the version of Koffice that I want and have the whole set of necessary packages automatically be selected too?
View 3 Replies View RelatedI have a problem with yum installer every time i want to install a new package it gets error:
View 2 Replies View RelatedI just reinstalled fedora and I cant run any movie now, I tried to install MPlayer, vlc, xine for 1 hr but dint work, no yum is found I don't know what's going on, vlc never worked for me I never got it but I never had problem installing mplayer
Code:
[root@localhost ~]# yum -y install mplayer mplayer-gui mplayer-skins mplayer-fonts gecko-mediaplayer
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
No package mplayer available.
No package mplayer-gui available.
No package mplayer-skins available.
No package mplayer-fonts available.
No package gecko-mediaplayer available.
Nothing to do
This is what I am getting same for vlc. I even tried yum -y install mplayer and very sort of thing but the above command worked for me previous time I don't know what's going on this time.
I want the package name to install the Italian language in Fedora.
View 1 Replies View Related