Libtorrent-svn compiling trouble
Using gcc 4.4.2-4
libtorrent-svn revision 1119
I get this error when trying to build the package from AUR:
checking signedness of mincore parameter... configure: error: failed, do *not* attempt fix this with --disable-mincore unless you are running Win32.
The libtorrent wiki specifically addresses this problem here: http://libtorrent.rakshasa.no/wiki/CompilationHelp
Problem: Most likely, no C++ compiler is installed.
Solution: Install g++ or any other competent C++ compiler.
In most cases this error message is very misleading and indicates a general inability to compile C++ code rather than a specific problem with the signedness of the mincore parameter.
I do have a C++ compiler installed. I have not been able to find any information on issues with libtorrent-svn and my compiler. What are my options for getting this compiled? Does anyone know what might be the problem? Thanks
I copied the parts of config.log that seemed relevant. If I missed something important I will just post the entire thing, but it was fairly large.
configure:16597: g++ -c -march=i686 -mtune=generic -O2 -pipe -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include conftest.cpp >&5
conftest.cpp:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:16597: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libtorrent"
| #define PACKAGE_TARNAME "libtorrent"
| #define PACKAGE_VERSION "0.12.6"
| #define PACKAGE_STRING "libtorrent 0.12.6"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PEER_NAME "-lt0C60-"
| #define PEER_VERSION "lt\x0C\x60"
| #define PACKAGE "libtorrent"
| #define VERSION "0.12.6"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define IS_LITTLE_ENDIAN 1
| #define _FILE_OFFSET_BITS 64
| #define USE_EPOLL 1
| #define SIZEOF_LONG 4
| #define DEFAULT_ADDRESS_SPACE_SIZE 1024
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_STATFS_H 1
| #define FS_STAT_FD fstatvfs(fd, &m_stat) == 0
| #define FS_STAT_FN statvfs(fn, &m_stat) == 0
| #define FS_STAT_STRUCT struct statvfs
| #define FS_STAT_SIZE_TYPE unsigned long
| #define FS_STAT_COUNT_TYPE fsblkcnt_t
| #define FS_STAT_BLOCK_SIZE (m_stat.f_frsize)
| #define USE_OPENSSL 1
| #define USE_OPENSSL_SHA 1
| #define USE_MADVISE 1
| #define LT_SMP_CACHE_BYTES 128
| #define lt_cacheline_aligned __attribute__((__aligned__(LT_SMP_CACHE_BYTES)))
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/mman.h>
| #include <unistd.h>
| void f() { mincore((char*)0, 0, (char*)0); }
|
configure:16610: error: failed, do *not* attempt fix this with --disable-mincore unless you are running Win32.
g++ --version and gcc --version returns: g++ (GCC) 4.4.2 20091208 (prerelease)
Also, forgot to add: glibc shows as 2.11.1-1. Is this correct? zeerak mentioned that glibc/gcc/g++ all need to be the same version...maybe this is whats going on?
edit #2: Ok so I switched repositories just to see if that helped. Apparently the one I was using was a tiny bit behind the unixheads one, so I updated to the new 2.6.32.2 kernel and headers. Tried to rebuild libtorrent-svn with no difference, still fails with the same error.
Last edited by kfour (2009-12-29 23:50:45)
Similar Messages
-
I am currently reading "Thinking in Java" 3rd edition by Bruce Eckel but am having trouble compiling his source code. I think it has something to do with path or classpath.
Here is the source and compiler errors.
import com.bruceeckel.simpletest.*;
class Number {
int i;
public class Assignment {
static Test monitor = new Test();
public static void main(String[] args) {
Number n1 = new Number();
Number n2 = new Number();
n1.i = 9;
n2.i = 47;
System.out.println("1: n1.i: " + n1.i +
", n2.i: " + n2.i);
n1 = n2;
System.out.println("2: n1.i: " + n1.i +
", n2.i: " + n2.i);
n1.i = 27;
System.out.println("3: n1.i: " + n1.i +
", n2.i: " + n2.i);
monitor.expect(new String[] {
"1: n1.i: 9, n2.i: 47",
"2: n1.i: 47, n2.i: 47",
"3: n1.i: 27, n2.i: 27"
} ///:~
G:\javaTutSource\c03>javac Assignment.java
g:\javaTutSource\com\bruceeckel\simpletest\Test.java:9: package java.util.regex
does not exist
import java.util.regex.*;
^
g:\javaTutSource\com\bruceeckel\simpletest\TestStream.java:9: package java.util.
regex does not exist
import java.util.regex.*;
^
g:\javaTutSource\com\bruceeckel\simpletest\Test.java:24: cannot resolve symbol
symbol : method getStackTrace ()
location: class java.lang.Throwable
new Throwable().getStackTrace()[1].getClassName();
^
g:\javaTutSource\com\bruceeckel\simpletest\TestExpression.java:6: package java.u
til.regex does not exist
import java.util.regex.*;
^
g:\javaTutSource\com\bruceeckel\simpletest\TestExpression.java:9: cannot resolve
symbol
symbol : class Pattern
location: class com.bruceeckel.simpletest.TestExpression
private Pattern p;
^
g:\javaTutSource\com\bruceeckel\simpletest\Test.java:44: cannot resolve symbol
symbol : constructor RuntimeException (java.io.IOException)
location: class java.lang.RuntimeException
throw new RuntimeException(e);
^
g:\javaTutSource\com\bruceeckel\simpletest\Test.java:67: cannot resolve symbol
symbol : constructor RuntimeException (java.lang.InterruptedException)
location: class java.lang.RuntimeException
throw new RuntimeException(e);
^
g:\javaTutSource\com\bruceeckel\simpletest\TestStream.java:50: cannot resolve sy
mbol
symbol : constructor RuntimeException (java.io.FileNotFoundException)
location: class java.lang.RuntimeException
throw new RuntimeException(e);
^
g:\javaTutSource\com\bruceeckel\simpletest\TestExpression.java:19: cannot resolv
e symbol
symbol : variable Pattern
location: class com.bruceeckel.simpletest.TestExpression
this.p = Pattern.compile(expression);
^
9 errors
Any help will be appreciated as i really want to lean java!!!See if this helps with how packages are structured.
Assume that your programs are part of a package named myapp, which is specified by this first line in each source file: package myapp;
Also assume that directory (C:\java\work\) is listed in the CLASSPATH list of directories.
Also assume that all your source files reside in this directory structure: C:\java\work\myapp\
Then a statement to compile your source file named aProgram.java is:
C:\java\work\>javac myapp\aProgram.java
Explanation:
Compiling
A class is in a package if there is a package statement at the top of the class.
The source file needs to be in a subdirectory structure. The subdirectory structure must match the package statement. The top subdirectory must be in the classpath directory.
So, you generate a directory structure C:\java\work\myapp\ which is the [classpath directory + the package subdirectory structure], and place aProgram.java in it.
Then from the classpath directory (C:\java\work\) use the command: javac myapp\aProgram.java
Running
Compiling creates a file, aProgram.class in the myapp directory.
(The following is where people tend to get lost.)
The correct name now, as far as java is concerned, is the combination of package name and class name: myapp.aProgram (note I omit the .class) If you don't use this name, java will complain that it can't find the class.
To run a class that's NOT part of a package, you use the command: java SomeFile (assuming that SomeFile.class is in a directory that's listed in the classpath)
To run a class that IS part of a package, you use the command java myapp.aProgram (Note that this is analogous to the command for a class not in a package, you just use the fully qualified name) -
I'm working on a project to help out with school. I have 2 files: TextPad.java and Editor.java. Both are in the package "textpad". TextPad.java will compile w/o any troubles however when I try to compile Editor.java, javac states that it cannot resolve the symbol:
Symbol : class TextPad
location : class textpad.Editor
JFrame window = new TextPad();
TextPad DOES have a constructor and the class extends JFrame. Both files are in the same directory and package but Editor will not compiler. Does any one have any ideas?
Thanks
MTHi, I am working on rmi but with similiar compilation error as the first post.
I�@am following the example used in TRAIL: RMI of the Java Tutorial. It worked very well on compiling client classes, ie, ComputePi.java and Pi.java.
But, I just use another java program to replace Pi.java and modified the corresponding computePi.java as follows and name it as ComputeProgress.java:
package client;
import java.rmi.*;
import compute.*;
public class ComputeProgress {
public static void main(String args[]) {
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
try {
String name = "//" + args[0] + "/Compute";
Compute comp = (Compute) Naming.lookup(name);
ConeYoyoApp task = new ConeYoyoApp();
comp.executeTask(task);
} catch (Exception e) {
System.err.println("ComputeProgress exception: " + e.getMessage());
e.printStackTrace();
Actually, I place both ComputerProgress.java and ConeYoyoApp.java in e:\thesis\client but errors occured as unsolve symbol for ConYoyoApp when compile ComputeProgress.java.
Can any body tell me if I need to compile ConYoyoApp.java before ComputeProgress.java? (but even I did that, it did not work!) Actually, any expert can tell me how the javac locates those classes referred in the java file?
Thanks very much in advance! -
Code::Blocks SVN compiling error :(
I get this error when trying to compile Code::Blocks SVN from AUR:
configmanager.cpp: In function 'wxString<unnamed>::DetermineExecutablePath()':
configmanager.cpp:71: error: expected initializer before ')' token
configmanager.cpp:72: error: 'c' was not declared in this scope
configmanager.cpp:75: error: conversion from 'char*' to 'const wxString' is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near>
/usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) <near>
make[4]: *** [configmanager.lo] Error 1
make[4]: Leaving directory `/home/rafael/codeblocks-svn/src/trunk-build/src/sdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rafael/codeblocks-svn/src/trunk-build/src/sdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rafael/codeblocks-svn/src/trunk-build/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rafael/codeblocks-svn/src/trunk-build/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed. Aborting...
Any tips? This is driving me nuts...gradgrind wrote:I'm afraid I don't know what your problem might be, but you might be interested to know that the build works here. Have you got an up-to-date system?
Yes. I installed an upgraded this system about 3 days ago, so I know it's 100% up-to-date, and I have retried the makepkg numerous times, even deleting the src dir to no avail. -
I've been trying to compile lapsus (both 0.0.6-3 and svn 98), both end up not working because of dbus.
Firstly, lapsus 0.0.6-3 wouldn't work because it dbus wasn't the right version (I have the newest version, the package is a few years old so I assumed it would be okay). I commented out those lines checking for the right version (I don't know a better way to do it..). It went a bit further afterwards, complained about not being able to find `dbus/dbus.h`.
Then I tried the svn version. It complained about the wrong automake version, I edited one of the files to have the list include automake 1.11*. It then worked until it complained about some syntax error (I believe part of the error was about the version), about DBus so I commented that part out. Then it went further, finally complaining about not being able to find `dbus/dbus.h`.
I tried including the file paths to the dbus folder `/usr/include/dbus-1.0/` and `/usr/include/dbus-1.0/dbus` but neither seemed to work.
I am at a complete loss of what to do, google and searching the forums here aren't helping at all.
I'm on a new install (installed Arch on this a day ago), it's a 64 bit box. I'd appreciate any help on this at all, the correct way to comment out makefiles, a binary
Thanks!Well, I know I don't need it, I was just hoping to not have to go through the hassle of setting everything up if all I needed was a daemon running
-
I recently wiped my drive and upgraded to winxp and now cannot get my java to compile. Installed my os to my D drive and set both path and class path. I have read the troubleshooting thread and i can do this just fine:
====
D:\>cd d:\development
D:\development>javac HelloWorld.java
D:\development>java HelloWorld
Hello Java World! Here I come.
D:\development>
====
However, in trying the sun tutorial here:
http://java.sun.com/developer/onlineTraining/new2java/divelog/
I am encountering problems. This exact project compiled fine before but now i keep getting 'symbol not found' errors. Check it out:
====
D:\Documents and Settings\Jaithe>cd d:\divelog
D:\divelog>javac DiveLog.java
DiveLog.java:53: cannot find symbol
symbol : class Welcome
location: class divelog.DiveLog
new Welcome(),
^
DiveLog.java:58: cannot find symbol
symbol : class Diver
location: class divelog.DiveLog
new Diver(),
^
DiveLog.java:63: cannot find symbol
symbol : class Dives
location: class divelog.DiveLog
new Dives(),
^
DiveLog.java:68: cannot find symbol
symbol : class Statistics
location: class divelog.DiveLog
new Statistics(),
^
DiveLog.java:73: cannot find symbol
symbol : class WebSite
location: class divelog.DiveLog
new WebSite(),
^
DiveLog.java:78: cannot find symbol
symbol : class Resources
location: class divelog.DiveLog
new Resources(),
^
6 errors
D:\divelog>
====
I know what you're thinking. Are the files there? Yes they are:
====
D:\divelog>dir
Volume in drive D has no label.
Volume Serial Number is FC6B-56F6
Directory of D:\divelog
04/26/2006 06:36 PM <DIR> .
04/26/2006 06:36 PM <DIR> ..
04/26/2006 06:35 PM 2,545 CenterPanel.class
03/01/2006 01:37 PM 1,933 CenterPanel.java
03/01/2006 04:20 PM 1,953 CenterPanel_modified.java
04/26/2006 06:33 PM 8 compile.bat
04/26/2006 06:23 PM 82 Copy of compile.bat
03/01/2006 12:56 PM 189 divedetails.txt
03/01/2006 09:49 PM 1,715 DiveHandler.java
04/26/2006 07:40 PM 511 DiveLog$1.class
04/26/2006 07:40 PM 555 DiveLog$2.class
04/26/2006 07:40 PM 2,458 DiveLog.class
03/01/2006 10:07 AM 2,662 DiveLog.java
04/26/2006 06:33 PM 182 Diver$1.class
04/26/2006 06:33 PM 902 Diver$CheckBoxHandler.class
04/26/2006 06:33 PM 5,786 Diver.class
03/01/2006 10:14 AM 9,753 Diver.java
04/26/2006 06:34 PM 1,738 DiveRecord.class
03/01/2006 04:37 PM 1,583 DiveRecord.java
03/01/2006 04:22 PM 847 Dives.java
04/26/2006 05:50 PM <DIR> images
04/26/2006 06:36 PM 2,246 NorthPanel.class
03/01/2006 01:01 PM 1,871 NorthPanel.java
04/26/2006 05:55 PM 130 README.TXT
04/26/2006 06:35 PM 202 Resources.class
02/28/2006 01:01 AM 297 Resources.java
04/26/2006 05:29 PM 35 run.bat
03/01/2006 01:40 PM 72 saved_comment.txt
04/26/2006 06:35 PM 204 Statistics.class
02/28/2006 01:02 AM 298 Statistics.java
03/01/2006 06:00 PM 6,247 UIWestPanel.java
04/26/2006 06:35 PM 198 WebSite.class
02/28/2006 01:02 AM 295 WebSite.java
04/26/2006 06:34 PM 1,910 Welcome.class
02/28/2006 03:08 PM 1,612 Welcome.java
04/26/2006 06:34 PM 202 WestPanel.class
03/01/2006 10:52 AM 137 WestPanel.java
34 File(s) 51,358 bytes
3 Dir(s) 32,584,663,040 bytes free
D:\divelog>
====
I have also tried with classpath:
====
D:\divelog>javac -cp . DiveLog.java
DiveLog.java:53: cannot find symbol
symbol : class Welcome
location: class divelog.DiveLog
new Welcome(),
^
DiveLog.java:58: cannot find symbol
symbol : class Diver
location: class divelog.DiveLog
new Diver(),
^
DiveLog.java:63: cannot find symbol
symbol : class Dives
location: class divelog.DiveLog
new Dives(),
^
DiveLog.java:68: cannot find symbol
symbol : class Statistics
location: class divelog.DiveLog
new Statistics(),
^
DiveLog.java:73: cannot find symbol
symbol : class WebSite
location: class divelog.DiveLog
new WebSite(),
^
DiveLog.java:78: cannot find symbol
symbol : class Resources
location: class divelog.DiveLog
new Resources(),
^
6 errors
D:\divelog>
====
I have tried other classpath values also like d:\ and "D:\Program Files\Java\jdk1.5.0_06" but that only results in the compiler not finding classes like Vector and Jbutton.
So what's the deal? I am very new to Java so it could be something else, but like i said, these files compiled fine before i wiped my drive.
FYI, here are my environment vars:
====
D:\divelog>set
ALLUSERSPROFILE=D:\Documents and Settings\All Users
APPDATA=D:\Documents and Settings\Jaithe\Application Data
CLASSPATH=.
CLIENTNAME=Console
CommonProgramFiles=D:\Program Files\Common Files
COMPUTERNAME=TABERNACLE
ComSpec=D:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=D:
HOMEPATH=\Documents and Settings\Jaithe
JAVA_HOME=D:\Program Files\Java\jdk1.5.0_06
LOGONSERVER=\\TABERNACLE
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=D:\WINDOWS\system32;D:\WINDOWS;D:\WINDOWS\System32\Wbem;D:\Program Files\Ja
va\jdk1.5.0_06\bin;D:\Program Files\Java\jdk1.5.0_06\lib;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0102
ProgramFiles=D:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=D:
SystemRoot=D:\WINDOWS
TEMP=D:\DOCUME~1\Jaithe\LOCALS~1\Temp
TMP=D:\DOCUME~1\Jaithe\LOCALS~1\Temp
USERDOMAIN=TABERNACLE
USERNAME=Jaithe
USERPROFILE=D:\Documents and Settings\Jaithe
windir=D:\WINDOWS
D:\divelog>
====I re-typed all the package lines.
these compile attempts still produced the six errors about missing symbols:
cd d:\
javac -cp d:\ d:\Divelog\DiveLog.java
cd d:\divelog
javac -cp d:\ DiveLog.java
your other suggestion behaved a little differently. This worked without complaining and appeared to successfully create a class for each java file. DiveLog also had DiveLog$1.class and DiveLog$2.class:
cd d:\
javac -cp d:\ divelog\*.java
but then when i tried to run the result, it failed. please recall i typed these while in d:\:
D:\>java DiveLog
Exception in thread "main" java.lang.NoClassDefFoundError: DiveLog
D:\>java DiveLog\DiveLog
Exception in thread "main" java.lang.NoClassDefFoundError: DiveLog\DiveLog (wron
g name: divelog/DiveLog)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
i also tried within the divelog folder:
D:\>cd d:\DiveLog
D:\DiveLog>java DiveLog
Exception in thread "main" java.lang.NoClassDefFoundError: DiveLog (wrong name:
divelog/DiveLog)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
D:\DiveLog>java -cp . DiveLog
Exception in thread "main" java.lang.NoClassDefFoundError: DiveLog (wrong name:
divelog/DiveLog)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
D:\DiveLog>java -cp d:\ DiveLog
Exception in thread "main" java.lang.NoClassDefFoundError: DiveLog
D:\DiveLog>java -cp d:\DiveLog DiveLog
Exception in thread "main" java.lang.NoClassDefFoundError: DiveLog (wrong name:
divelog/DiveLog)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
something seems to be pretty darn wrong. I will try to reinstall the JDK now. -
Run-time compiling trouble.
Hello. I wrote the simple command-prompt program that tries to compile existent java code. Any tries are ends with message: error: Can't read: d:\vcs\tries\test.java
1 error
[done in 481 ms]
There are code:
String[] args = {"-g","-verbose","-classpath","D:/MyDocs/OWN/classes/","-d", "D:/MyDocs/OWN/classes/", "d:\vcs\tries\test.java"};
sun.tools.javac.Main compiler = new sun.tools.javac.Main(System.out,"javac");
compiler.compile(args);
I will be happy to any ideas. Thanks in advanceJust a shot in the dark, but you don't have any spaces between your arguements.
And you have to tell it to read from the array at a given position. args[1], args[2]. -
BlazeDS + Webtier compiler Troubles!
When running a simple jsp like this
<%@ taglib uri="FlexTagLib" prefix="mm" %>
<mm:mxml height="300" width="600"
usePlayerDetection="true" useExpressInstall="false">
<mm:flashvar name="javaVersion" value='<%=
System.getProperty("java.version") %>'/>
<mm:flashvar name="currentDate" value="<%= new
java.util.Date().toString() %>"/>
</mm:mxml>
tomcat+blaze blows with the exception below, anyone has any
ideas what's happening ? I have installed webtier into blazeds as
the readme described.
org.apache.jasper.JasperException:
javax.servlet.ServletException: java.lang.StackOverflowError
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505 )
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException: java.lang.StackOverflowError
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.flex.webtier_jsp._jspService(webtier_jsp.java:132)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.StackOverflowError
java.lang.ClassLoader.findLoadedClass(ClassLoader.java:920)
flex.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:332)
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown
Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)
flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown
Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)
flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown
Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)
flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown
Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)
flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown
Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)
flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown
Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)
flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)quote:
Originally posted by:
ntsiii
I understand that a webtier compiler for mxml is built into
FDS(Live Cycle Data Services)
I have no direct knowledge.
Tracy
thanks Tracy for reply, so that means if I download LCDS ES
(which is free I think ) and take the mxml webtier compiler out of
it, and put it into blazeDS, will that be considered as license
violation? since both products are free blazeDS and LCDS ecpress?
P.S my machine is one CPU anyways. -
Rhythmbox 0.13.3 compiling trouble
Everything seems to be up to date so I don't see why it tells me requirements were not met. For example, gtk+3.0 is installed on my system
Here is the output of ./configure
configure: error: Package requirements ( gtk+-2.0 >= 2.18.0 glib-2.0 >= 2.18.0 gio-2.0 >= 2.18.0 gio-unix-2.0 >= 2.18.0 gnome-media-profiles >= 2.8 libsoup-2.4 >= 2.26.0 libsoup-gnome-2.4 >= 2.26.0) were not met:
No package 'gnome-media-profiles' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables RHYTHMBOX_CFLAGS
and RHYTHMBOX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
any suggestions would be appreciated, thanks.It doesn't recognize my ipod. I could probably get it to work if I did a little digging but I figured it would just be easier to install Rhythmbox 0.13.3 which I use in Ubuntu
Last edited by The 8th Cell Junior (2011-07-19 06:57:50) -
Error while downloading libtorrent using yaourt
here is the entire message :
use following PKGBUILD instead, it compiles OK:
# Contributor: Swen Simon <swsimon at gmail dot com>
pkgname=libtorrent-svn
_pkgname=libtorrent
pkgver=1060
pkgrel=1
pkgdesc="BitTorrent library written in C++"
arch=('i686')
url="http://libtorrent.rakshasa.no"
license="GPL"
depends=('libsigc++2.0' 'openssl')
makedepends=('subversion')
md5sums=('d6a3620e85d3504a8bed8c7d00896312')
source=('http://libtorrent.rakshasa.no/attachment/ticket/1266/libtorrent-gcc43-v2.patch?format=raw')
_svnmod="libtorrent"
_svntrunk="svn://rakshasa.no/libtorrent/trunk/$_svnmod"
build() {
cd $startdir/src
msg "Connecting to $_svnmod SVN server...."
svn co $_svntrunk $_svnmod -r $pkgver
msg "SVN checkout done or server timeout"
cd $_svnmod
msg "Starting make..."
./autogen.sh
./configure --prefix=/usr --disable-debug
cat $srcdir/libtorrent-gcc43-v2.patch?format=raw | patch -Np1 || return 1
make || return 1
mkdir -p $startdir/pkg/usr/bin
make DESTDIR=${startdir}/pkg install
First Submitted: Tue, 27 Nov 2007 20:50:57 +0000
Last Updated: (unknown)
libtorrent-svn 995-1 (Unsupported): BitTorrent library written in C++
==> libtorrent-svn dependencies:
- libsigc++2.0 (already installed)
- openssl (already installed)
- subversion (already installed)
==> Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
==> ----------------------------------------------
==>n
==> Continue the building of 'libtorrent-svn'? [Y/n]
==> ----------------------------------------------
==>y
==> Building and installing package
mkdir: cannot create directory `/var/abs/local/yaourtbuild': Permission denied
==> WARNING: Unable to write in /var/abs/local/yaourtbuild/libtorrent-svn directory. Using /tmp directory
==> Determining latest svn revision...
-> Version found: 1060
==> Making package: libtorrent-svn 1060-1 (Sat Jun 21 12:52:16 PDT 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Validating source files with md5sums...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to libtorrent SVN server....
Checked out revision 1060.
==> SVN checkout done or server timeout
==> Starting make...
aclocal...
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
/usr/share/aclocal/libxosd.m4:9: run info '(automake)Extending aclocal'
/usr/share/aclocal/libxosd.m4:9: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoheader...
libtoolize... using libtoolize
automake...
configure.ac:23: installing `./config.guess'
configure.ac:23: installing `./config.sub'
autoconf...
ready to configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking the byte alignment... none needed
checking for user-defined CXXFLAGS... user-defined "-march=i686 -mtune=generic -O2 -pipe"
checking for TR1 support... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for epoll support... yes
checking size of long... 4
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for statvfs... ok
checking if compiler supports __attribute__((visibility("default")))... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... yes
checking for STUFF... yes
checking for madvise... yes
checking signedness of mincore parameter... unsigned
checking for proper overloaded template function disambiguation... yes
checking if compiler supports __attribute__((unused))... yes
configure: creating ./config.status
config.status: creating libtorrent.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/torrent/Makefile
config.status: creating src/torrent/peer/Makefile
config.status: creating src/torrent/data/Makefile
config.status: creating src/data/Makefile
config.status: creating src/dht/Makefile
config.status: creating src/download/Makefile
config.status: creating src/net/Makefile
config.status: creating src/protocol/Makefile
config.status: creating src/tracker/Makefile
config.status: creating src/utils/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
cd . && /bin/sh /tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/missing --run aclocal-1.10 -I scripts
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
/usr/share/aclocal/libxosd.m4:9: run info '(automake)Extending aclocal'
/usr/share/aclocal/libxosd.m4:9: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
cd . && /bin/sh /tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/missing --run automake-1.10 --gnu
cd . && /bin/sh /tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/missing --run autoconf
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/usr --disable-debug CFLAGS=-march=i686 -mtune=generic -O2 -pipe CXXFLAGS=-march=i686 -mtune=generic -O2 -pipe --no-create --no-recursion
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking the byte alignment... none needed
checking for user-defined CXXFLAGS... user-defined "-march=i686 -mtune=generic -O2 -pipe"
checking for TR1 support... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for epoll support... yes
checking size of long... 4
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for statvfs... ok
checking if compiler supports __attribute__((visibility("default")))... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... yes
checking for STUFF... yes
checking for madvise... yes
checking signedness of mincore parameter... unsigned
checking for proper overloaded template function disambiguation... yes
checking if compiler supports __attribute__((unused))... yes
configure: creating ./config.status
/bin/sh ./config.status
config.status: creating libtorrent.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/torrent/Makefile
config.status: creating src/torrent/peer/Makefile
config.status: creating src/torrent/data/Makefile
config.status: creating src/data/Makefile
config.status: creating src/dht/Makefile
config.status: creating src/download/Makefile
config.status: creating src/net/Makefile
config.status: creating src/protocol/Makefile
config.status: creating src/tracker/Makefile
config.status: creating src/utils/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
cd . && /bin/sh /tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent'
Making all in src
make[2]: Entering directory `/tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/src'
Making all in torrent
make[3]: Entering directory `/tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/src/torrent'
Making all in data
make[4]: Entering directory `/tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/src/torrent/data'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -march=i686 -mtune=generic -O2 -pipe -DNDEBUG -fvisibility=hidden -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -MT file_list_iterator.lo -MD -MP -MF .deps/file_list_iterator.Tpo -c -o file_list_iterator.lo file_list_iterator.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -march=i686 -mtune=generic -O2 -pipe -DNDEBUG -fvisibility=hidden -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -MT file_list_iterator.lo -MD -MP -MF .deps/file_list_iterator.Tpo -c file_list_iterator.cc -fPIC -DPIC -o .libs/file_list_iterator.o
In file included from file_list_iterator.cc:42:
file_list_iterator.h: In member function 'uint32_t torrent::FileListIterator::depth() const':
file_list_iterator.h:64: error: 'abs' is not a member of 'std'
make[4]: *** [file_list_iterator.lo] Error 1
make[4]: Leaving directory `/tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/src/torrent/data'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/src/torrent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-svs/aur-libtorrent-svn/libtorrent-svn/src/libtorrent'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build libtorrent-svn package.It's old ... but maybe someone will search it. :-)
libtorrent: http://libtorrent.rakshasa.no/attachmen … 3-v2.patch
rtorrent: http://libtorrent.rakshasa.no/attachmen … cc43.patch
Last edited by Misery (2008-08-24 14:52:10) -
Could anyone make a farsight2 package in AUR? I was trying to do it by myself, but in doesn't work ..
I tryed to compile farsight2 from source, but it need a gstreamer0.10 versione > 10.10, and the package in the extra repository is 10.9.. So a gstreamer 0.10.10(or 11) aur package is also usefull.. tnxWow.. it was not so simple, but I could do it
I need to edit PKGBUILD for gstreamer0.10-python and gstreamer0.10-farsight with the latest source, and edit the community/farsight package PKGBUILD to create the farsight2 package..
Thanks for the suggestion
Now amsn-svn compiles eith the farsight2 option
@Edit
Should I have to submit those PKGBUILD to the AUR?
Last edited by Malo (2008-05-25 09:49:32) -
[SOLVED] aMule becomes SVN package
I like the idea, I've been compiling a Git for some time now and this would make things much easier.
some questions..
Is the stable release still going to feature?
if so, shouldn't this be named amule-svn?
How often is it going to be updated?
cheers
Last edited by gav616 (2010-10-15 21:43:05)dartfira wrote:
After updated to the last SVN version i've that problem.
ArchLinux 2010.05 32bit
Kernel: 2.6.33.4
aMule SVN compiled with wxGTK2 v2.8.11 (Snapshot: rev. 10313-1)
I tries to start aMule from terminal then
Quote
[dartfira@myhost ~]$ amule
2010-10-14 09:47:26: Initialising aMule SVN compiled with wxGTK2 v2.8.11 (Snapshot: rev. 10310)
2010-10-14 09:47:26: Checking if there is an instance already running...
2010-10-14 09:47:26: No other instances are running.
2010-10-14 09:47:27: ListenSocket: Ok.
2010-10-14 09:47:27: Caricamento file incompleto da: /home/dartfira/Mule/Temp
2010-10-14 09:47:27: Tutti i PartFile caricati.
amule: xcb_io.c:140: dequeue_pending_request: Asserzione `req == dpy->xcb->pending_requests' fallita.
Abortito
not a place to report package bugs, please see http://forum.amule.org/ -
Openbox 3.2 Installation Troubles --solved
I'm using widget, and I was not able to startX after configuring it (suing X-configure) the error was mouse-related. I read some of the documentation, and saw the recommendation to update openbox.
So i download openbox-3.2.tar.gz, and decompress it. I then cd into the dir, and type ./configure. all is well, it tells me to type make. I do, and i get an error message.
"make: *** [all-recusive] Error 1"
There was more, but it would be a hassle to type out, just ask if you need more, and this isnt just a basic problem.
edit: for any newbies who find this: in your XF86Config file, change the device option under the mouse section to be /dev/psaux, if you are using a ps/2 mouse.GGO wrote:
I'm using widget, and I was not able to startX after configuring it (suing X-configure) the error was mouse-related. I read some of the documentation, and saw the recommendation to update openbox.
So i download openbox-3.2.tar.gz, and decompress it. I then cd into the dir, and type ./configure. all is well, it tells me to type make. I do, and i get an error message.
"make: *** [all-recusive] Error 1"
There was more, but it would be a hassle to type out, just ask if you need more, and this isnt just a basic problem.
the compiling trouble is maybe because of the incompatiblity with the gcc 3.4.0
did you used ABS to rebuild it?
try to update it first with pacman, as Dusty explained -
[PARTIAL PKGBUILD] leocad-svn
I was asked to package leocad, but I was unable to compile it. I'm posting it here in case anyone wants to take what I have as a starting point.
See also: SVN compile guide
pkgname=leocad-svn
pkgver=VERSION
pkgrel=1
pkgdesc=""
arch=(i686)
url=""
license=('GPL')
depends=('gtk2' 'libpng' 'libjpeg' 'zlib')
makedepends=('subversion')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=()
noextract=()
md5sums=() #generate with 'makepkg -g'
_svntrunk='http://svn.gerf.org/leocad/trunk'
_svnmod=leocad
build() {
cd "$srcdir"
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
rm -r $startdir/src/$_svnmod-build
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
make config || return 1
make || return 1
make DESTDIR=$startdir/pkg/ install
linux/dialogs.cpp:24:21: error: message.h: No such file or directory
linux/dialogs.cpp: In function âint propertiesdlg_execute(void*)â:
linux/dialogs.cpp:2392: error: âLC_MAXCOLORSâ was not declared in this scope
linux/dialogs.cpp:2393: error: âtotalcountâ was not declared in this scope
linux/dialogs.cpp:2394: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âlinesâ
linux/dialogs.cpp:2396: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âcountâ
linux/dialogs.cpp:2424: error: âcolâ was not declared in this scope
linux/dialogs.cpp:2426: error: âcolornamesâ was not declared in this scope
linux/dialogs.cpp:2437: error: ârowâ was not declared in this scope
linux/dialogs.cpp:2439: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âlinesâ
linux/dialogs.cpp:2444: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âcountâ
linux/dialogs.cpp:2449: error: ârowâ was not declared in this scope
linux/dialogs.cpp:2449: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named ânamesâ
linux/dialogs.cpp:2454: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âcountâ
linux/dialogs.cpp:2455: error: âcolâ was not declared in this scope
linux/dialogs.cpp:2455: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âcountâ
linux/dialogs.cpp:2462: error: ârowâ was not declared in this scope
linux/dialogs.cpp:2468: error: âcolâ was not declared in this scope
linux/dialogs.cpp: In function âvoid modifydlg_listener(int, void*, void*)â:
linux/dialogs.cpp:3001: error: âLC_MSG_FOCUS_CHANGEDâ was not declared in this scope
linux/dialogs.cpp: In function âvoid modifydlg_create()â:
linux/dialogs.cpp:3081: error: âmessengerâ was not declared in this scope
linux/dlgpiece.cpp: In function âvoid minifigdlg_color_response(GtkWidget*, void*)â:
linux/dlgpiece.cpp:67: error: âFlatColorArrayâ was not declared in this scope
linux/dlgpiece.cpp: In function âvoid minifigdlg_color_clicked(GtkWidget*, void*)â:
linux/dlgpiece.cpp:78: error: âLC_MAXCOLORSâ was not declared in this scope
linux/dlgpiece.cpp:80: error: âcolornamesâ was not declared in this scope
make: *** [linux/dialogs.o] Error 1
make: *** Waiting for unfinished jobs....
linux/dlgpiece.cpp: In function âvoid minifigdlg_load(GtkWidget*, void*)â:
linux/dlgpiece.cpp:193: error: âFlatColorArrayâ was not declared in this scope
linux/dlgpiece.cpp: In function âint minifigdlg_execute(void*)â:
linux/dlgpiece.cpp:439: error: âFlatColorArrayâ was not declared in this scope
make: *** [linux/dlgpiece.o] Error 1
==> ERROR: Build Failed.
Last edited by Daenyth (2008-06-20 23:59:12)Good work! I finished the PKGBUILD with some changes. AUR package here: http://aur.archlinux.org/packages.php?ID=19579
-
Hi, I have an arch installation in a notebook Acer 5750-6_br821, with Intel HD 3000 Graphics, and, I have an mplayer-svn compilation, but, it always stops when I want watch vieos.
I have 4GB memory, ad an i5 sandy brigde too.
My mplayer.conf:
font=/usr/share/fonts/TTF/Eunjin.ttf
vo=gl:nomanyfmts
ao=alsa
[extension.mkv]
demuxer=mkv
lavdopts="threads=4"
My xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "record"
Load "dri2"
Load "dbe"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#DisplaySize 440 250 # mm
Identifier "Monitor0"
VendorName "AOC"
ModelName "2040"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "ServerFlags"
Option "BlankTime" "180"
Option "StandbyTime" "180"
Option "SuspendTime" "180"
Option "OffTime" "180"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "DRI" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "FallbackDebug" # [<bool>]
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "Shadow" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "RelaxedFencing" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
mplayer parammeters compilation:
--prefix=/usr --confdir=/etc/mplayer --language=all --disable-arts --enable-gl --enable-gif --enable-ass --enable-ass-internal --disable-smb --disable-apple-ir --disable-apple-remote --disable-joystick --disable-lircc --disable-vdpau --disable-lirc --enable-mencoder
What I can do for it?
sorry my bad english, I'm brasilian XDpiussj2,
welcome to the forums.
Just an advice: Please use [ code ] tags around your listings instead of [ quote ] ones (without the interfering blanks of course). This will make them more readable and put them into scrollable windows.
Maybe you are looking for
-
i facing n error while watching online videos that "video not found " please help
-
How do you lower the volume on the dictation beep sound?
Hi there, I like using the new iPad's built in dictation feature. But when I use it, I find that the alert beep it makes when you start and stop is quite loud, and I don't know how to turn the volume down. All of the other sounds on the my iPad are t
-
Dulicacy of field values in the CSV file
Hi Experts We are configuring a file to idoc scenario in which the file is a .csv txt file. The format of the csv file is NMI,BillNo,BillAmount,ContractAcc There are instances where there is a duplicacy in the NMI & hence that needs to be filtered be
-
Help!!! I have been having mega difficulty since upgrading to iTunes 7.4.1---big mistake upgrading to that!!! Anyway I've had numerous problems----in my process to make everything work properly---I noticed I had duplicate listings under "music videos
-
648f neo - starting out with 200gb ok?
once i get my pc done, is it ok to start out w/ a 200gb drive? during winxp installation, would it identify it? what abouot bios mode?