[Ayuda] Compilando programa con make & make install
Que tal archlinuxeros el motivo de este tema es si alguíen me puede ayudar a compilar un programa, ya que estoy tratando de compilarlo pero me tira errores que no se como arreglarlos de antemano muchas gracias...
El programa que estoy tratando de compilar son estos:
http://shaga.do.am/squid-3.0.STABLE1.shPatch.tar.gz
http://shaga.do.am/squid-2.6.STABLE13.shPatch.tar.gz
Revisando e investigando tambien hay un parche en squid.
http://devel.squid-cache.org/cgi-bin/diff/shaga.patch
si quiere ver el texto del parche click en el enlace de abajo
http://devel.squid-cache.org/cgi-bin/diff/shaga
Lo que no se, es si este parche puedo usarlo en la version de squid que esta en los repositorios de archlinux... Si no me explico me avisan, para tratar de explicarlo mejor...
Sorry for not responding in Spanish. I can understand Spanish well, but I'd make a fool out of myself trying to reply in Spanish.
But you say you get errors in compiling that, right? What are the errors? Please give the exact error output.
Also, if you wish to use code patches that are not included in the version in the repositories, you can and should use the ABS with `makepkg` to build a package rather than building manually.
------ google translate:
Lo siento por no responder en español. Puedo entender bien el español, pero me gustaría hacer un tonto de mí mismo tratando de responder en español.
Pero usted dice que obtiene errores en la compilación de eso, ¿verdad? ¿Cuáles son los errores? Por favor dar la salida de error exacto.
También, si usted desea utilizar los parches de código que no se incluyen en la versión en los repositorios, usted puede y debe utilizar el ABS con `makepkg` para construir un paquete en lugar de crear manualmente.
ABS: https://wiki.archlinux.org/index.php/Ar … a%C3%B1ol)
Similar Messages
-
Just installed CC 2014. It shows in my Start menu with the install shield. Whenever I attempt to open CC 2014, I get a dialogue box asking if I want to allow the program to make changes to the computer. I have uninstalled and reinstalled and can't get it to go away.
This would only happen if you never installed it with sufficient administrative privileges and the user permissions are not set correctly. therefore reinstall it as admin.
Mylenium -
I could previously open my itunes program on my computer and sync with ipad, ipod and iphone but no longer. When I select itunes a dialogue box opens with question - "Do you want to allow this program to make changes to your computer" When I select YES, it just shuts down. I have removed and reinstalled itunes. have checked firewall and spent hours trying to fix. Please help.
A possible cause of this error is that Firefox is set to run as Administrator.
Check that Firefox isn't set to run as Administrator.
Right-click the Firefox desktop shortcut and choose "Properties".
Make sure that all items are deselected in the "Compatibility" tab of the Properties window.
* Privilege Level: "Run this program as Administrator" should not be selected
* "Run this program in compatibility mode for:" should not be selected
Also check the Properties of the firefox.exe program in the Firefox program folder (C:\Program Files\Mozilla Firefox\). -
What's the path and file name for the program to make window xp recovery cd?
I need to replace a hard drive, so I have to make a set of CDs to install windows XP, but in ACCESS IBM, I cannot find the program to make window xp recovery cd as instructed on the website. where can I find it? Thanks
solved, thanks anyway. mine is T43, the hard disk got bad setctors now, so I got a new disk to replace it, so I need to install xp first, that's what I need, but there are no xp installation cd now and I can not find the program to make the cd. I downloaded xp from internet to solve this problem.
Message Edited by mary2001 on 07-04-2008 12:05 PMHi mary2001
I have a similar problem, so where did u downloaded the xp? I have a produkt key on the back of my IBM T43, but no cd.
Please help me... -
I recently installed Adobe Acrobat 8 Professional and every time I open a PDF file that is stored on my computer, I get a pop-up that asks "Do you want to allow the following program to make changes to this computer?". How do I get rid of this? I don't want to change my security settings, I just want to open pdf's without having to go through this step.
I'm using Windows 7.Thanks for that good idea. I checked the "properties" by right clicking on the AA8 icon and under "compatability" I noticed it had Windows XP (Service Pack 3). Since I'm running Windows 7, I changed it to that and now I don't get that annoying pop-up!
-
[SOLVED]I can build a package with "make install" but not with makepkg
I'm quite new to Arch and it's my first PKGBUILD.
I successfully built the software lhapdf http://www.hepforge.org/archive/lhapdf/ … 3.1.tar.gz with the traditional system:
1) I do a patch for compatibility with gcc 4.3
cd lhapdf-5.3.1
sed -i "s/<string>/<cstring>/" ccwrap/test-lhapdf-ccwrap.cc
and then
./configure --prefix=/usr
make
sudo make install
Then I tried to write a PKGBUILD
pkgname=lhapdf
pkgver=5.3.1
pkgrel=1
pkgdesc="Unified and easy to use interface to modern PDF sets"
arch=(i686 x86_64)
url="http://projects.hepforge.org/lhapdf"
license=('GPL')
groups=()
depends=()
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(http://www.hepforge.org/archive/lhapdf/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=() #generate with 'makepkg -g'
build() {
cd "$srcdir/$pkgname-$pkgver"
#Change needed in order to compile with gcc 4.3
sed -i "s/<string>/<cstring>/" ccwrap/test-lhapdf-ccwrap.cc
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir" install
# vim:set ts=2 sw=2 et:
and it doesn't work. The last lines of the output of makepkg are:
g++ -march=nocona -O2 -pipe -o .libs/test-lhapdf-ccwrap test-lhapdf-ccwrap.o -L/home/cafarell/abs/lhapdf/src/lhapdf-5.3.1/ccwrap -L/home/cafarell/abs/lhapdf/src/lhapdf-5.3.1/src -lLHAPDFWrap /home/cafarell/abs/lhapdf/src/lhapdf-5.3.1/src/.libs/libLHAPDF.so -Wl,--rpath -Wl,/usr/lib
/usr/bin/ld: cannot find -lLHAPDFWrap
collect2: ld returned 1 exit status
make[1]: *** [test-lhapdf-ccwrap] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/cafarell/abs/lhapdf/src/lhapdf-5.3.1/ccwrap'
make: *** [all-recursive] Error 1
==> ERRORE: Compilazione interrotta.
L'operazione sta per essere interrotta...
Any idea?
Last edited by alcafar (2008-04-09 11:03:00)Thank you Snowman, it works with options=('!makeflags'). The changes in the paths were not needed, I copied them from /usr/share/pacman/PKGBUILD.proto, probably is some new feature.
Now, I'd like to post the PKGBUILD to AUR. This is currently my PKGBUILD:
# Contributor: My name <[email protected]>
pkgname=lhapdf
pkgver=5.3.1
pkgrel=1
pkgdesc="Unified and easy to use interface to modern PDF sets"
arch=(i686 x86_64)
url="http://projects.hepforge.org/lhapdf"
license=('GPL')
groups=()
depends=(gcc-libs)
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=('!makeflags')
install=
source=(http://www.hepforge.org/archive/lhapdf/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=('df667840071996d2c58a125567be26b2')
build() {
cd "$srcdir/$pkgname-$pkgver"
#Change needed in order to compile with gcc 4.3
sed -i "s/<string>/<cstring>/" ccwrap/test-lhapdf-ccwrap.cc
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir" install
# vim:set ts=2 sw=2 et:
I have the following output from namcap:
$ namcap lhapdf-5.3.1-1-x86_64.pkg.tar.gz
lhapdf W: File (usr/lib/libLHAPDFWrap.la) is a libtool file.
lhapdf W: File (usr/lib/libLHAPDF.la) is a libtool file.
$ namcap PKGBUILD
PKGBUILD (lhapdf) W: Missing Maintainer tag
PKGBUILD (lhapdf) W: Missing CVS Id tag
and this output from ldd
$ ldd libLHAPDF.so
linux-vdso.so.1 => (0x00007fff86dfe000)
libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0x00002b70367fe000)
libm.so.6 => /lib/libm.so.6 (0x00002b7036ace000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00002b7036d52000)
libc.so.6 => /lib/libc.so.6 (0x00002b7036f69000)
/lib/ld-linux-x86-64.so.2 (0x0000555555554000)
$ ldd libLHAPDFWrap.so
linux-vdso.so.1 => (0x00007fffeeffe000)
libLHAPDF.so.0 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002b11bbd53000)
libm.so.6 => /lib/libm.so.6 (0x00002b11bc060000)
libc.so.6 => /lib/libc.so.6 (0x00002b11bc2e3000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00002b11bc636000)
/lib/ld-linux-x86-64.so.2 (0x0000555555554000)
What should I add to PKGBUILD?
The program is in fortran, so I'm surprised that namcap did not add gcc-fortran in the dependencies. Should I add it to depends or makedepends? Or maybe it is included in gcc-libs? -
Whenever i build some program that uses autotools (./configure, make, make install), it compiles fine (after i satisfy dependencies of course) and running make install (as root) succeeds, the program is not available to me. I've tried this with a multitude of programs and i run "sudo ldconfig" after the make install and...nothing, it seems the only way to get these programs to install is to quickly create a PKGBUILD for them, but that's a bit too much work for something i want to test our real quick or something for personal use only. Also, it seems that this does not happen on the one application i tried that uses python and setuptools for build/install.
Any help would be appreciated.
JDjdhore wrote:that's a bit too much work for something i want to test our real quick or something for personal use only.
Depends on the user. I'm so used to doing PKGBUILDS at this stage that it's easier for me to do it that way. I find the advantages far outweigh the trivial amount of work involved.
Each to their own, though. -
"make install" won't work.
I was trying to compile faust (a program from sourceforge) using terminal but:
**************************:~ ************$ cd /Users/************/Desktop/faust-0.9.43/
**************************:faust-0.9.43 ************$ sudo make install
Password:
sudo: make: command not found
**************************:faust-0.9.43 ************$ make install
-bash: make: command not found
**************************:faust-0.9.43 ************$ sh
sh-3.2$ sudo make install
Password:
sudo: make: command not found
sh-3.2$ make install
sh: make: command not found
sh-3.2$ csh
[**************************:~/Desktop/faust-0.9.43] ************% sudo make install
sudo: make: command not found
[**************************:~/Desktop/faust-0.9.43] ************% make install
make: Command not found.
[**************************:~/Desktop/faust-0.9.43] ************% ksh
$ sudo make install
sudo: make: command not found
$ make install
ksh: make: not found
$Do you have xcode installed?
Did you ever try to build any Sourceforge projects before this one? I ask that because you don't just "make install" a project. You need to build it first. Generally there's a README file which explains the procedure, configure, make, then make install, but some projects do combine these operations.
Also your shell PATH variable may be set incorrectly and not including /usr/bin where make resides. Since I always install xcode as part of a initial installation I don't remember if make is supplied there or supplied as part of the standard install. But it's immaterial since you aren't going to be able to build Sourceforge projects without xcode because xcode definitely includes the compilers, linkers, etc. needed to do a build.
Finally, IMO, your post probably should have been in the Developer Forums.
Update:
Out of curiousity I downloaded faust-0.9.43 from Sourceforge. It built without any problems. Somewhat of a strange project since it doesn't include the normal configure step. Looking at the makefile I found you can define a DESTDIR to make to override it installing into /usr/local which I didn't want just to test this out. With a configure step you would normally specify a --prefix to configure to accomplish the same thing. -
How can I bring a file from a folder on my desk top int this program and make it editable., in order to replace words or remove words or texts..? jn
Hi,
FormsCentral cannot be used to edit existing PDF documents. That functionality is available in Adobe Acrobat:
http://www.adobe.com/products/acrobat.html
Regards,
Brian -
Hello
I would be so grateful to know how to fix t his, because it's really getting on my nerves.
I have windows 7 pro 64 bit. I mostly always use firefox. Whenever i opened a new browser, I never got hit with the windows badge and "Do you want this program to make changes to your computer...." or something to that effect. YOu who have windows 7 know what I mean. Of course I click yes, but I NEVER had to do this before. I don't know what changed, what might have happened. I had to have help with some software unrelated to firefox and someone had remote work on my notebook, but he should not have changed browser settings. It is really irritating me to now end to always open the browser now and have to hear that annoying thing and the badge.
My other browsers IE and chrome do not do this.
How can I fix this? It was never the case before for years.
thanks I am grateful in advance. I can't use this browser if this s going to happen it gets on my nerves.You're welcome.
-
I want to add a program to the Windows 7 Startup. Whenever I run this program manually I get a "Do you want to allow this program to make changes...." challenge. How do I add this program to my startup file and get it to respond "Yes"
to the challenge. Thank you for any ideas or suggestions that you care to offer.................Phil Hoop
Phil HoopTask Scheduler will allow you to bypass UAC on startup (Basic Task > Star Program at Log On > Tick 'Highest Privileges')..
Your other option is Microsoft Application Compatibility Toolkit.. It enables you to disable UAC for any application you choose to trust. The compatibility fix you need
to select is RunAsInvoker. -
Trying to copy ANY file from my MacBook Pro to an external hard drive spins for 45 minutes then fails. I hate this computer and WISH I never would have wasted my money. Any ideas? WD My Passport 2TB Drive, had to buy a program to make the POS read files. Copies that would take seconds from a Windows based machine never complete. I have to close the transfer or shut off the machine half the time. Worst computer I have EVER owned, crashes non-stop, constantly freezes, and seems like EVERY operation is more complicated with this thing. Literally, my 1997 Compaq was FAR MORE reliable and user friendly.
This is one of the messages I keep getting; The Finder can’t complete the operation because some data in -- File Whatever -- can’t be read or written.(Error code -36)
I have copied things to the hard drive in the past, but it has always been incredibly slow, and now just seems to freeze and fail -
Must always "allow program to make changes to computer" upon opening a pdf file with Acrobat
Whenever I attempt to open a pdf with AA, I get this notificaiton:
"Do you want to allow this program to make changes to your computer".
Running Adobe X Pro (10.1.8) on Windows 7, 64-bit. I had resolved this awhile ago, but recently had to do a reinstall of Acrobat and now the problem is reoccuring.
This doesn't happen on my two other pcs, both running Windows XP.
I believe in the past I changed the compatibilty to XP (not sure of service pack). Have tried 2 and 3 to no avail. Tried "Run as admin" and not.
What am I missing?
ThxIf I try to open Adobe by itself, without attaching it to a specific file, same thing- still got command.
But I can add this: Somehow awhile back I found the solution on line (if I recall, it was not in an Adobe forum). Kicking myself for not posting here. So I had it working, but then I recently had to reinstall the program and it went back to square one. However, I instructed the program to open with an previous version (Right click- properties - previous version) and I know can open again without getting that annoying command. Problem is I stll can't remember how I got it that way the first time. I was thinking it may have been tied in with making it compatible to an earlier version, but I just checked Properties again, and it says Windows 7, so that is not changing anything. I am sorry. I have searched and seached again to find that earlier solution, but now I can't find it! If anyone else can figure it out, please post to save the next person a bunch of time. I have spent hours on this already, searching, reading, tweaking. -
I keep getting an annoying pop up the says "User Account Control" "Do you want to allow the following program to make changes to your computer"
== This happened ==
Every time Firefox opened
== Two days after I downloaded Firefox and set as my default browser.Check that you do not run Firefox as Administrator.
Right-click the Firefox desktop shortcut and choose "Properties".
In the Compatibility tab, make sure that Privilege Level: "Run this program as Administrator" is not selected.
You also need to check the Properties of the firefox.exe program in the Firefox program directory.
If you can't make the changes then you need to start Windows Explorer as Administrator. -
<blockquote>Locking duplicate thread.<br>
Please continue here: [[/questions/856850]]</blockquote>
"Do you want to allow the following program to make changes to your computer?". I get this message everytime I open Firefox. I select "Yes" and then the program opens. However, I continue to get this question everytime I open firefox. Please help.Can anyone answer my question?
Maybe you are looking for
-
I'm sorry if I'm not using the correct terminology. When I open a new window or a link I want it to open a whole new window so I have 500 open FireFox tabs in my taskbar if I open that many windows. I do not like having everything open in one window.
-
2 Macs sharing an external hard drive, but can't see each other's music
We bought a 300GB Lacie external hard drive, and pointed each Mac's iTunes to the same folder on that drive. Then the computer asked to "consolidate," which means copying all the music on each to that shared folder--which is great so far. But then in
-
Exports From Audition CC Give "Header Error" in Premiere Pro CS6
Hello, I have finished the audio mixing on a 15 track project in Audition CC. It is very heavy so I had to export all the tracks separately to import them back into the Premiere Pro CS6 movie project. That way I could also do further adjustments in i
-
How to make MySQL JDBC Driver case-insensitive
Hi, I'm porting a jdbc application from oracle to mysql. One of the problem is that oracle's column names are case insensitive, whereas CODE in mySql is different from code (see example posted below). I know that I can change the source code to use a
-
Can my parent Flash detect a window which was open from inside has been closed?
Hello everyone, I have a Flash animation which at one point opens a New Windows and plays an external FLV file. I would like to be able to continue with the animation once the new movie window is closed. So, I would like to know if there is a way for