. /Configure not workin and Synaptic not working
I tried installing flashplayer with ./configure but as I typed it in Terminal it shows "no such directory exists" while I 'm in right directory (I have un tar ed the flashplayer), I tried it with Synaptic Pkg Manager but when I go to add downladed pkges the pkg (flashplayer) appeared un highlighted and can not select it ? My Synaptic doesn't ask for root password when opened please I need to install some CAD software urgentlly so How can I make thiss all install ? (I'm trying to learn installation with flashplayer as it is known and simple)
|
Quote:
http://www.linuxcommand.org/index.php http://tldp.org/LDP/Bash-Beginners-G...tml/index.html i am ASSUMING you are running Debian or Ubuntu ???? What is your operating System and version ? is it 32 bit or 64 bit What is your hardware specs ? Did YOU install the os or was it preinstalled when you bought the computer? some more info is needed for us to help. in order to build the source code ------------- ./configure -- prefix=/use - - more options make su make install ---------- you need to have the " Development Tools " and " Development Library's" installed for YOUR operating System and ALL of the prerequisites installed for that program . |
I'm on Debian AMD64 (I installed it by mistake from directly net, it was supposed to be i386 for my processor is Intel dual core, mercury main board, BUT IT IS RUNNING WELL, I think 64 bit is supported on my PC), I done all that "cd" thing and reached exactly to un tar ed folder of flashplayer which has one *.so and one flashplayer installer file, after "cd //home/christian/c/falsh_player"in which above mentioned two files are present I typed "./configure" but it returned with "no such directory exixsts" in Synaptic the flash player (those two files) just doesn't open:mad::cry:
|
Check if you are running configure in the right directory.
|
Always try downloading .deb file for your machine.That will easily do the needful.
Also see http://www.psychocats.net/ubuntu/flash for further help |
As flash player is not supported for 64 bit I'll try it later, as of learning installation is concerned I'm trying my PICKIT2 but, see what happens
Code:
PC NAME://home/christian/d$ cd //home/christian/d |
cd into flashplayer directory.if you type ls you should see libflashplayer-installer and libflash.so
you can run installer with ./flashplayer-installer as root.or you can just copy the libflash.so to your browser plugins folder... /usr/lib/mozilla/plugins /usr/lib/firefox/plugins /home/urname/.mozilla/plugins you dont use ./configure to install flash player..thats a command you use for building packages from source code just read you have 64 bit... i do believe there is a 64 bit flash player http://labs.adobe.com/technologies/f...tes_64bit.html |
also for that program your trying to compile..did you read the read me's??when you build from sources read the read me's
A Makefile is provided for compiling on several versions of Linux and Mac OS X. Select the system either by uncommenting one of the TARGET options in the Makefile or by specifying the target on the command line. make linux Build for Linux kernel 2.6 make linux-old Build for Linux kernel 2.4 make freebsd Build for FreeBSD (See FREEBSD NOTE below) make mac104 Build for OS X version 10.4 make mac105 Build for OS X version 10.5 After successfully compiling pk2cmd, use su or sudo to run 'make install' as root. The pk2cmd binary will be copied to /usr/local/bin with the 's' permission bit set (necessary for running pk2cmd as a non-root user). The device data file, PK2DeviceFile.dat, will be copied to /usr/share/pk2. If /usr/share/pk2 doesn't already exist, it will be created by running make install. |
I did this .....
Code:
PC NAME:~$ su And yes hat is what I want to learn "How to install files (or build or whatever you may called) from *.tar.gz fromat" and that is WHY I AM TRYING ./configure and still have the same problem, In short I want to and really need to learn how to install applications from *.tar.gz format and why ./configure return with "no such directory exists"PLEASE IT IS VERY URGENT I NEED TO DO A PROJECT WITH PIC KIT 2, don't bother much about flash player tell me first how to overcome this ./configure stuff :confused: |
Just read Replay from STARTOTAK, I'm a hardware guy (progarmming microcontrller), I don't understand what the readme says I'm attaching it here, as for the download the readme mentions in "installation" section from microchip.com I allready have it. PLEASE GUIDE ME
Quote:
|
your on a 64 bit system?you download adobes 64bit ?I believe its /usr/lib64...
As far as that program you dont use ./configure on it..its "make linux" "make install" Majority of times it will be ./configure make make install but not always..you need to read the readme files in source code folder..it will tell you what you need to know to build . If your going to build from source do you have build-essential installed??that will install basics you need build and compile.. |
i downloades source code and built it..you will need libusb-dev..look for it in synaptic..I built it but didnt install it..I have no use for the program..just make sure you have build-essential installed and libusb-dev..heres the make output..
strat@razor:~/pk2cmdv1.20LinuxMacSource$ make linux make TARGET=linux make[1]: Entering directory `/home/strat/pk2cmdv1.20LinuxMacSource' g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o cmd_app.o -c cmd_app.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o DeviceData.o -c DeviceData .cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o DeviceFile.o -c DeviceFile .cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o ImportExportHex.o -c Impor tExportHex.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o PICkitFunctions.o -c PICki tFunctions.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o PIC32PE.o -c PIC32PE.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o Pk2BootLoader.o -c Pk2Boot Loader.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o pk2cmd.o -c pk2cmd.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o stdafx.o -c stdafx.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o pk2usbcommon.o -c pk2usbco mmon.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o pk2usb.o -c pk2usb.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o P24F_PE.o -c P24F_PE.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o dsP33_PE.o -c dsP33_PE.cpp g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -x c -o strnatcmp.o -c strnat cmp.c g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -DCLAIM_USB -o pk2cmd cmd_app.o DeviceData .o DeviceFile.o ImportExportHex.o PICkitFunctions.o PIC32PE.o Pk2BootLoader.o pk2cmd.o stdafx.o pk2usbcommon.o p k2usb.o P24F_PE.o dsP33_PE.o strnatcmp.o -L/usr/local/lib -lusb make[1]: Leaving directory `/home/strat/pk2cmdv1.20LinuxMacSource' strat@razor:~/pk2cmdv1.20LinuxMacSource$ Im assuming this the right packages you are trying to build..here link to where i got source code http://www.microchip.com/stellent/id...irects=pickit2 |
O.K. first PICkit2 is a USB microcontroller programmer which I NEED to and HAVE TO install on my Debian, I have the following files from the microchip (menufacturer of PICkit2),.....
pk2cmd , pk2Devicefile.dat , pk2v023200.hex , ReadmeforPK2cmdLinux.txt , usbhotplug.txt, which file I should use to build and compile and how would I do that ? Just read the reply what Build essentials and how would I verify I have it ? |
ok..from the top..download the source code..extract it..cd into the directory..from reading the readmes you should read the usbhotplug.txt
"Please read the file 'usbhotplug.txt' before compiling and installing pk2cmd. It explains how to set up USB udev or hotplug rules so pk2cmd can be run in user mode. You must also have libusb (http://libusb.sourceforge.net) installed" then after you do whatever usbhotplug.text tells you to do. Then in source code directory you make linux then when its done you.. make install and then quoting from make readme.. "After successfully compiling pk2cmd, use su or sudo to run 'make install' as root. The pk2cmd binary will be copied to /usr/local/bin with the 's' permission bit set (necessary for running pk2cmd as a non-root user). The device data file, PK2DeviceFile.dat, will be copied to /usr/share/pk2. If /usr/share/pk2 doesn't already exist, it will be created by running make install. Both of these directories must be in your PATH variable. /usr/local/bin should normally be in your PATH by default. If you're using bash as your command line interface, edit the file .bashrc in your home directory to include: PATH=$PATH:/usr/share/pk2 export PATH Some similar procedure should exist for other command line shells; consult your system's documentation. You'll need to restart your window manager for these changes to take effect." and build-essential can be installed with apt-get apt-get install build-essential and like i said you will need libusb and libusb-dev..libusb should already be installed |
How to do this ????????:confused:
Quote:
I tried typing "usbfs-like devices" in Terminal window but doesn't work, btw I installed essentials and libusb successfuly. |
All times are GMT -5. The time now is 02:16 PM. |